/*
Theme Name: Mangesh Lungare
Theme URI: https://mangeshlungare.com
Author: Wadi Design Studio
Author URI: https://wadidesignstudio.com
Description: Minimal image-led portfolio theme for Mangesh Lungare with fading project imagery, three-column interiors, and dynamic project galleries.
Version: 3.2.9
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mangesh-lungare
Tags: portfolio, interiors, gallery, minimal
*/

:root {
    --bg: #ffffff;
    --ink: #111111;
    --muted: #6f6f6f;
    --line: #d8d8d8;
    --soft: #f6f6f4;
    --header-h: 44px;
    --header-top: clamp(30px, 3.5vh, 44px);
    --serif: Georgia, "Times New Roman", serif;
    --sans: Inter, Arial, Helvetica, sans-serif;
    --ease: cubic-bezier(.16, 1, .3, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

body {
    min-height: 100%;
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--serif);
    font-size: 15px;
    line-height: 1.5;
    overflow-x: hidden;
}

body.has-ml-cursor [data-cursor] {
    cursor: none;
}

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

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

button {
    border: 0;
    border-radius: 0;
    background: none;
    color: inherit;
    font: inherit;
    padding: 0;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: fixed;
    z-index: 40;
    top: var(--header-top);
    left: 0;
    right: 0;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 36px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
}

body.admin-bar .site-header {
    top: calc(var(--header-top) + 32px);
}

.site-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
}

.site-menu a,
.site-brand {
    font-family: var(--serif);
    font-size: 12px;
    line-height: 1;
    letter-spacing: .22em;
}

.site-menu a {
    text-transform: uppercase;
    transition: color .28s var(--ease);
    font-size: 12px !important;
}

.site-menu a:hover {
    color: var(--muted);
}

.site-brand {
    position: relative;
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 28px;
    height: 24px;
    white-space: nowrap;
}

.brand-short,
.brand-full {
    display: inline-block;
    transition: opacity .45s var(--ease), transform .45s var(--ease), max-width .55s var(--ease);
}

.brand-short {
    opacity: 1;
    transform: translateX(0);
}

.brand-full {
    position: absolute;
    right: 0;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateX(8px);
}

.site-brand:hover .brand-short,
.site-brand:focus-visible .brand-short {
    opacity: 0;
    transform: translateX(-8px);
}

.site-brand:hover .brand-full,
.site-brand:focus-visible .brand-full {
    max-width: 230px;
    opacity: 1;
    transform: translateX(0);
}

.ml-cursor {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    min-width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: .08em;
    line-height: 1;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.9);
    transition: opacity .18s ease, transform .18s ease;
    mix-blend-mode: difference;
    color: #ffffff;
}

.ml-cursor.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.home-screen {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: calc(var(--header-top) + var(--header-h) + 30px) 10vw 54px;
    overflow: hidden;
}

.home-stage {
    position: relative;
    z-index: 3;
    width: min(460px, 34vw);
    height: min(62vh, 560px);
    pointer-events: none;
}

.home-slide {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    margin: 0;
    opacity: 0;
    transition: opacity 1s var(--ease);
}

.home-slide.is-active {
    opacity: 1;
}

.home-slide img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.home-hit {
    position: absolute;
    z-index: 12;
    top: calc(var(--header-top) + var(--header-h));
    bottom: 0;
    width: 50%;
}

body.admin-bar .home-hit {
    top: calc(var(--header-top) + var(--header-h) + 32px);
}

.home-hit-left {
    left: 0;
}

.home-hit-right {
    right: 0;
}

.interiors-page {
    min-height: 100vh;
    padding: clamp(128px, 18vh, 190px) 36px 80px;
}

.project-grid {
    width: min(720px, calc(100vw - 160px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 22px;
}

.project-card a {
    display: block;
}

.project-card-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--soft);
}

.project-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .65s var(--ease), transform .8s var(--ease);
}

.project-card-image-hover {
    opacity: 0;
    transform: scale(1.015);
}

.project-card a:hover .project-card-image-primary,
.project-card a:focus-visible .project-card-image-primary {
    opacity: 0;
}

.project-card a:hover .project-card-image-hover,
.project-card a:focus-visible .project-card-image-hover {
    opacity: 1;
    transform: scale(1);
}

.project-detail-page {
    min-height: 100vh;
    width: min(1180px, calc(100vw - 144px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    padding: calc(var(--header-top) + var(--header-h) + 46px) 0 64px;
}

.project-hero-panel,
.project-info-panel {
    min-width: 0;
}

.project-hero-frame {
    height: min(68vh, 720px);
    margin: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

.project-hero-frame img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 1;
    transition: opacity .42s var(--ease);
}

.project-hero-frame img.is-changing {
    opacity: 0;
}

.project-info-panel {
    height: min(68vh, 720px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 34px;
}

.project-thumbs {
    width: min(420px, 100%);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-content: start;
}

.project-thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--soft);
    cursor: pointer;
}

.project-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    transition: border-color .25s ease;
}

.project-thumb.is-active::after,
.project-thumb:hover::after,
.project-thumb:focus-visible::after {
    border-color: var(--ink);
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-copy {
    margin-top: auto;
}

.project-kicker,
.page-kicker {
    margin: 0 0 12px;
    font-family: var(--sans);
    font-size: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
}

.project-copy h1,
.plain-content h1,
.press-wrap h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(34px, 5vw, 66px);
    font-weight: 400;
    line-height: 1.02;
}

.press-wrap h1 {
    max-width: 640px;
    font-size: clamp(28px, 3.2vw, 42px);
}

.project-description {
    margin: 0;
    max-width: min(420px, 100%);
    color: var(--ink);
    font-size: 17px;
    line-height: 1.45;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.press-page,
.plain-page {
    min-height: 100vh;
    padding: clamp(128px, 18vh, 190px) 36px 96px;
}

.press-wrap,
.plain-content {
    width: min(720px, calc(100vw - 160px));
    margin: 0 auto;
}

.plain-content {
    max-width: 720px;
}

.plain-content p,
.entry-content {
    font-size: 20px;
    line-height: 1.5;
    text-align: justify;
}

.plain-content h1,
.plain-content h2,
.plain-content h3 {
    font-size: 24px;
    line-height: 1.22;
}

.text-link {
    border-bottom: 1px solid currentColor;
}

.press-groups {
    margin-top: 40px;
}

.press-group {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 26px;
    padding: 18px 0 30px;
    border-top: 1px solid var(--line);
}

.press-group h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.press-list {
    display: grid;
    gap: 14px;
}

.press-row {
    display: grid;
    grid-template-columns: minmax(130px, .8fr) minmax(0, 1.4fr) 58px;
    gap: 18px;
    align-items: baseline;
}

.press-source,
.press-year {
    font-family: var(--sans);
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.press-title {
    font-size: clamp(18px, 1.9vw, 24px);
    line-height: 1.12;
}

.press-year {
    color: var(--muted);
    text-align: right;
}

@media (max-width: 900px) {
    :root {
        --header-h: 58px;
        --header-top: 18px;
    }

    .site-header {
        align-items: flex-start;
        height: auto;
        min-height: var(--header-h);
        padding: 16px 18px 12px;
    }

    .site-menu {
        flex-wrap: wrap;
        gap: 12px 18px;
        max-width: calc(100vw - 96px);
    }

    .site-menu a,
    .site-brand {
        font-size: 11px;
    }

    .home-stage {
        width: min(62vw, 380px);
        height: 52vh;
    }

    .project-grid,
    .press-wrap,
    .plain-content {
        width: calc(100vw - 36px);
    }

    .interiors-page,
    .press-page,
    .plain-page {
        padding-left: 18px;
        padding-right: 18px;
    }

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

    .project-detail-page {
        grid-template-columns: 1fr;
        gap: 22px;
        width: calc(100vw - 36px);
        padding: calc(var(--header-top) + var(--header-h) + 38px) 0 72px;
    }

    .project-hero-frame {
        height: auto;
        min-height: 48vh;
        max-height: none;
        align-items: center;
    }

    .project-hero-frame img {
        max-height: 64vh;
    }

    .project-info-panel {
        height: auto;
    }

    .press-group,
    .press-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .press-year {
        text-align: left;
    }

}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: calc(var(--header-top) + 46px);
    }

    body.admin-bar .home-hit {
        top: calc(var(--header-top) + var(--header-h) + 46px);
    }
}

@media (max-width: 560px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .home-hit {
        top: calc(var(--header-top) + var(--header-h));
    }

    .project-thumbs {
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
        animation-duration: .001ms !important;
    }
}

/* Screen-first layout update. */
body {
    font-family: var(--sans);
}

.site-header {
    top: 32px;
    height: auto;
    padding: 0;
    align-items: flex-start;
    background: transparent;
    backdrop-filter: none;
}

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

.site-brand,
.site-menu a {
    font-family: var(--sans);
    letter-spacing: 0;
}

.site-brand {
    min-width: 0;
    height: auto;
    justify-content: flex-start;
    font-weight: 900;
    line-height: .82;
    text-transform: uppercase;
}

.site-header-inner {
    top: 0;
    left: 0;
    right: 0;
    justify-content: space-between;
    background: #ffffff !important;
    padding: 32px 34px 28px;
}

body.admin-bar .site-header-inner {
    padding-top: 0;
}

.site-header-inner .site-brand {
    font-size: clamp(26px, 3.12vw, 56px);
}

.site-header-inner .site-menu {
    margin-top: 4px;
    justify-content: flex-end;
    gap: 26px;
}

.site-header-inner .site-menu a {
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.site-header-home {
    top: clamp(42px, 5.8vh, 76px);
    left: calc(50vw + 30px);
    right: auto;
    display: block;
}

body.admin-bar .site-header-home {
    top: calc(clamp(42px, 5.8vh, 76px) + 32px);
}

.site-header-home .site-brand {
    display: none;
}

.site-header-home .site-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(14px, 1vh, 14px);
}

.site-header-home .site-menu a {
    font-size: 12px;
    font-weight: 900;
    line-height: .9;
    text-transform: uppercase;
}

.menu-item-read {
    position: relative;
}

.site-header-home .menu-item-read {
    margin-bottom: 0;
}

.read-dropdown {
    position: absolute;
    z-index: 5;
    top: 8px;
    left: calc(100% + 16px);
    display: grid;
    gap: 8px;
    min-width: 150px;
    padding-left: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-6px);
    transition: opacity .24s var(--ease), transform .24s var(--ease);
}

.menu-item-read:hover .read-dropdown,
.menu-item-read:focus-within .read-dropdown,
.menu-item-read.is-open .read-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.site-header-home .read-dropdown a {
    font-size: 12px !important;
    font-weight: 800;
    line-height: 1.08;
}

.site-header-home .read-dropdown {
    position: static;
    display: grid;
    gap: 8px;
    max-height: 0;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    transform: translateY(-4px);
    transition: max-height .24s var(--ease), opacity .24s var(--ease), transform .24s var(--ease);
}

.site-header-home .menu-item-read:hover .read-dropdown,
.site-header-home .menu-item-read:focus-within .read-dropdown,
.site-header-home .menu-item-read.is-open .read-dropdown {
    max-height: 58px;
    padding-top: 8px;
    transform: translateY(0);
}

.site-header-inner .read-dropdown {
    top: 100%;
    left: 0;
    gap: 7px;
    min-width: 120px;
    padding: 12px 0 0;
    background: #ffffff;
    transform: translateY(-6px);
}

.site-header-inner .menu-item-read:hover .read-dropdown,
.site-header-inner .menu-item-read:focus-within .read-dropdown,
.site-header-inner .menu-item-read.is-open .read-dropdown {
    transform: translateY(0);
}

.site-header-inner .read-dropdown a {
    font-size: 12px;
}

body.ml-home-template {
    overflow: hidden;
}

.home-screen {
    position: relative;
    height: 100svh;
    min-height: 100vh;
    display: block;
    padding: 0;
    overflow: hidden;
}

.home-portrait {
    position: absolute;
    z-index: 1;
    top: 16px;
    right: 24px;
    bottom: 16px;
    width: calc(50vw - 36px);
    margin: 0;
    background: var(--soft);
    overflow: hidden;
}

.home-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-copy {
    position: absolute;
    z-index: 3;
    left: 36px;
    bottom: clamp(210px, 24vh, 330px);
    width: min(310px, calc(50vw - 72px));
    font-size: clamp(13px, .95vw, 16px);
    line-height: 1.28;
}

.home-copy p {
    margin: 0;
}

.home-copy p + p {
    margin-top: 4px;
    color: var(--muted);
}

.home-role {
    font-weight: 900;
    color: var(--ink);
}

.home-brand {
    position: absolute;
    z-index: 4;
    left: 34px;
    right: 18px;
    bottom: clamp(34px, 4.5vh, 64px);
    margin: 0;
    font-family: var(--sans);
    font-size: clamp(54px, 8.8vw, 174px);
    font-weight: 900;
    line-height: .82;
    letter-spacing: 0;
    white-space: nowrap;
    text-transform: uppercase;
}

.brand-transition-overlay {
    position: fixed;
    z-index: 999;
    inset: 0;
    background: rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
    pointer-events: all;
    opacity: 0;
    transition: opacity .5s ease, backdrop-filter .5s ease, -webkit-backdrop-filter .5s ease;
}

.brand-transition-overlay.is-visible {
    opacity: 1;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
}

.brand-transition-overlay.is-leaving {
    opacity: 0;
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
}

body.is-brand-preloading {
    overflow: hidden;
}

.brand-transition-clone {
    position: fixed;
    z-index: 1000;
    margin: 0;
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 900;
    line-height: .82;
    letter-spacing: 0;
    white-space: nowrap;
    pointer-events: none;
    transition: top 1.35s var(--ease), left 1.35s var(--ease), font-size 1.35s var(--ease), line-height 1.35s var(--ease);
}

.site-brand.is-transitioning-in,
.home-brand.is-transitioning-in {
    opacity: 0;
}

.transition-layout-measure {
    position: fixed;
    z-index: -1;
    visibility: hidden !important;
    pointer-events: none !important;
}

.transition-home-measure {
    inset: 0;
    height: 100svh;
    min-height: 100vh;
    overflow: hidden;
}

.interiors-page {
    min-height: 100vh;
    padding: clamp(150px, 21vh, 230px) 36px 96px;
}

.project-grid {
    width: min(1040px, calc(100vw - 240px));
    gap: 38px 134px;
}

.project-card-title {
    display: block;
    text-transform: uppercase;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.18;
    text-align: left;
}

.project-detail-page {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(230px, 26vw) minmax(360px, 1fr) minmax(220px, 21vw);
    gap: clamp(40px, 5vw, 96px);
    align-items: start;
    padding: clamp(132px, 18vh, 190px) 52px 86px;
}

.project-info-panel {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: clamp(132px, 18vh, 190px);
    height: min(74vh, 760px);
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
}

.project-heading h1 {
    margin: 0;
    font-size: clamp(36px, 4vw, 68px);
    font-weight: 400;
    line-height: 1;
}

.project-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 120px));
    gap: 28px;
}

.project-meta span,
.contact-block span {
    display: block;
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.project-meta strong {
    display: block;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
}

.project-media-panel {
    display: contents;
}

.project-image-frame {
    width: 100%;
    margin: 0;
    background: var(--soft);
    overflow: hidden;
}

.project-image-frame img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.project-featured-frame {
    grid-column: 2 / 4;
    grid-row: 1;
}

.project-featured-frame img {
    height: min(74vh, 760px);
}

.project-gallery-stack {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    gap: 34px;
}

.project-description-panel {
    grid-column: 3;
    grid-row: 2;
    position: sticky;
    top: clamp(132px, 18vh, 190px);
    height: calc(100vh - clamp(132px, 18vh, 190px) - 60px);
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.project-description-text {
    margin: 0;
    max-width: 320px;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.contact-page {
    position: relative;
    height: 100vh;
    height: 100dvh;
    padding: 0 38vw 0 34px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

body.admin-bar .contact-page {
    height: calc(100vh - 32px);
    height: calc(100dvh - 32px);
}

.contact-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.contact-content h1 {
    margin: 0 0 clamp(48px, 7vh, 96px);
    font-size: clamp(48px, 6.2vw, 118px);
    font-weight: 900;
    line-height: .82;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(210px, 330px) minmax(320px, 1fr);
    gap: clamp(56px, 7vw, 120px);
    max-width: 940px;
}

.contact-lead {
    margin: 0;
    max-width: 250px;
    font-size: clamp(13px, 1.2vw, 19px);
    font-weight: 800;
    line-height: 1.16;
}

.contact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 44px 64px;
}

.contact-block a,
.contact-block p {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.contact-image {
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: 36vw;
    margin: 0;
    overflow: hidden;
    background: var(--soft);
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.info-page {
    min-height: 100vh;
    padding: 120px 36px 80px;
    background: #ffffff;
}

.info-profile {
    min-height: calc(100vh - 154px);
    display: grid;
    grid-template-columns: minmax(120px, .9fr) repeat(3, minmax(180px, 1fr));
    grid-template-rows: 1fr auto;
    gap: 0 clamp(34px, 6.8vw, 112px);
}

.info-portrait {
    grid-column: 3;
    width: min(420px, 19vw);
    aspect-ratio: 4 / 5;
    align-self: end;
    justify-self: start;
    margin: 0 0 clamp(28px, 5vh, 58px);
    overflow: hidden;
    background: var(--soft);
}

.info-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
}

.info-bio-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(120px, .9fr) repeat(3, minmax(180px, 1fr));
    gap: clamp(34px, 6.8vw, 112px);
    align-items: start;
    padding-top: 15px;
    border-top: 1px solid var(--ink);
}

.info-press-grid {
    margin-top: 26px;
}

.info-bio-grid p {
    margin: 0;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.16;
    text-align: left;
}

.info-bio-grid .info-label {
    font-weight: 500;
}

.info-bio-grid strong {
    display: block;
    margin-bottom: 10px;
    font-weight: 800;
}

.info-bio-grid a {
    transition: color .24s var(--ease);
}

.info-bio-grid a:hover {
    color: var(--muted);
}

@media (max-width: 1100px) {
    .project-grid {
        width: calc(100vw - 72px);
    }

    .project-detail-page {
        grid-template-columns: minmax(220px, 30vw) minmax(300px, 1fr) minmax(190px, 25vw);
        gap: clamp(28px, 4vw, 44px);
        padding-left: 36px;
        padding-right: 36px;
    }

    .contact-page {
        padding-right: 34vw;
    }

    .contact-image {
        width: 32vw;
    }

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

@media (max-width: 900px) {
    body.ml-home-template {
        overflow: auto;
    }

    .site-header,
    body.admin-bar .site-header {
        top: 18px;
        left: 18px;
        right: 18px;
    }

    .site-header-inner,
    body.admin-bar .site-header-inner {
        top: 0;
        left: 0;
        right: 0;
        padding: 18px 18px 0;
    }

    .site-header-inner .site-brand {
        font-size: clamp(21px, 6.4vw, 34px);
        max-width: 50vw;
    }

    .site-header-inner .site-menu {
        gap: 12px 16px;
        max-width: 44vw;
        flex-wrap: wrap;
    }

    .site-header-inner .site-menu a {
        font-size: 13px;
    }

    .site-header-home {
        left: 24px;
        right: auto;
    }

    .site-header-home .site-menu a {
        font-size: 12px;
    }

    .site-header-home .read-dropdown {
        top: 100%;
        left: 0;
        padding: 0;
        transform: translateY(-4px);
    }

    .home-screen {
        min-height: 100svh;
    }

    .home-portrait {
        top: 180px;
        right: 18px;
        bottom: 128px;
        left: 18px;
        width: auto;
    }

    .home-copy {
        left: 18px;
        right: 18px;
        bottom: 124px;
        width: auto;
        max-width: 300px;
    }

    .home-brand {
        left: 18px;
        bottom: 32px;
        font-size: clamp(38px, 10vw, 68px);
        white-space: normal;
    }

    .info-page {
        padding: 112px 18px 28px;
    }

    .info-profile {
        min-height: calc(100vh - 140px);
        grid-template-columns: 1fr;
    }

    .info-portrait {
        grid-column: 1;
        width: min(220px, 19vw);
        justify-self: center;
        margin-bottom: 34px;
    }

    .info-bio-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .interiors-page {
        padding: 128px 18px 72px;
    }

    .project-grid {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 18px;
    }

    .project-detail-page {
        display: block;
        padding: 128px 18px 72px;
    }

    .project-info-panel {
        position: static;
        height: auto;
        min-height: 0;
        gap: 36px;
        margin-bottom: 36px;
    }

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

    .project-featured-frame img {
        height: auto;
    }

    .project-gallery-stack {
        margin-top: 34px;
    }

    .project-description-panel {
        position: static;
        height: auto;
        min-height: 0;
        margin-top: 36px;
    }

    .project-description-text {
        max-width: none;
    }

    .contact-page {
        flex-direction: column;
        align-items: stretch;
        padding: 96px 18px 20px;
    }

    .contact-content {
        flex: 0 0 auto;
        padding: 0 0 20px;
    }

    .contact-content h1 {
        font-size: clamp(32px, 11vw, 56px);
        margin-bottom: 24px;
    }

    .contact-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .contact-image {
        position: relative;
        flex: 1 1 auto;
        width: 100%;
        height: auto;
        min-height: 0;
        margin: 0;
    }
}

@media (max-width: 560px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (prefers-reduced-motion: reduce) {
    .brand-transition-clone {
        transition: none;
    }
}


/* v20 adjustments */
.project-info-panel{justify-content:flex-end;}
.project-heading{margin-bottom:24px}
.project-heading h1{font-size:38px!important;text-transform:uppercase;font-family:var(--sans);font-weight:400;letter-spacing:0}
.info-page{padding:40px 36px 96px;overflow:visible;}
.info-profile{min-height:calc(100vh - 130px);}
.info-portrait{width:min(520px,19vw)!important;margin-bottom:18px;}

.info-bio-grid {
    row-gap: 20px;
}

.info-bio-grid:not(.info-press-grid) {
    padding-bottom: 30px;
}

.info-bio-grid p {
    line-height: 1.28;
}

.info-bio-grid strong {
    margin-bottom: 12px;
}

/* WADI contact layout parity. */
body:has(.contact-page) {
    overflow: hidden;
}

.contact-page {
    --contact-edge: 34px;
    --contact-header-h: clamp(104px, 6.8vw, 128px);
    width: calc(100vw - var(--contact-edge) - var(--contact-edge)) !important;
    min-height: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 auto !important;
    padding: var(--contact-header-h) 0 clamp(22px, 3vh, 38px) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 58%) minmax(280px, 42%) !important;
    grid-template-rows: minmax(0, 1fr);
    align-items: stretch !important;
    background: #ffffff !important;
    color: var(--ink) !important;
    overflow: hidden !important;
}

body.admin-bar .contact-page {
    height: calc(100vh - 32px) !important;
    height: calc(100dvh - 32px) !important;
    padding-top: var(--contact-header-h) !important;
}

.contact-left {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    padding: 0 clamp(30px, 4.5vw, 84px) 0 0 !important;
}

.contact-title {
    margin: 0 !important;
    padding-bottom: clamp(64px, 5vw, 96px) !important;
    color: var(--ink);
    font-family: var(--sans);
    font-size: clamp(1.9rem, 4.8vw, 4.2rem) !important;
    font-weight: 800;
    line-height: .9;
    letter-spacing: 0 !important;
    text-transform: uppercase;
}

.contact-content {
    width: 100% !important;
    display: block !important;
}

.contact-blocks {
    width: min(620px, 100%);
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(30px, 3.4vw, 54px) clamp(34px, 4vw, 74px);
}

.contact-label,
.contact-block span {
    display: block;
    margin: 0 0 .75rem;
    color: rgba(17, 17, 17, .38);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .14em;
    text-transform: none;
}

.contact-block p,
.contact-block a {
    margin: 0;
    color: rgba(17, 17, 17, .62);
    font-size: 13px !important;
    font-weight: 400;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.contact-block a {
    border-bottom: 1px solid transparent;
    text-decoration: none;
    transition: border-color .3s ease, color .3s ease;
}

.contact-block a:hover {
    color: var(--ink);
    border-color: rgba(17, 17, 17, .4);
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 18px;
}

.contact-social a {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
}

.contact-social svg {
    width: 18px;
    height: 18px;
    display: block;
}

.contact-right {
    position: relative;
    height: 100% !important;
    min-height: 0 !important;
    align-self: stretch !important;
    overflow: hidden !important;
    background: var(--soft);
}

.contact-right img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

@media (max-width: 900px) {
    body:has(.contact-page) {
        overflow: auto;
    }

    .contact-page {
        --contact-edge: 18px;
        --contact-header-h: 112px;
        width: 100% !important;
        min-height: 100vh !important;
        height: auto !important;
        padding: var(--contact-header-h) 18px 56px !important;
        grid-template-columns: 1fr !important;
        overflow: visible !important;
    }

    .contact-left {
        padding: 42px 0 56px !important;
    }

    .contact-right {
        height: auto !important;
        min-height: 46vh !important;
        order: -1;
    }

    .contact-content {
        display: block !important;
    }
}

@media (min-width: 901px) {
    body.admin-bar .site-header {
        top: 0px;
        padding-top: 64px !important;
    }
}

@media (max-width: 560px) {
    .contact-blocks {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-left {
        padding: 40px 0 56px !important;
    }

    .contact-title {
        padding-bottom: 48px !important;
    }
}
