/* =========================================================
   TWDesign — What We Do
   Page-specific styles only. Shared chrome remains global.
========================================================= */
.tww-page {
    --tww-dark: #0d0d0c;
    --tww-paper: var(--twa-paper, #eee8dc);
    --tww-gold: var(--twa-gold, #a8603a);
}

.tww-page img {
    max-width: 100%;
}

/* Hero */
.tww-hero__image {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
    will-change: transform;
}

.tww-hero .twa-hero__shade {
    z-index: 3;
    background: linear-gradient(90deg, rgba(5, 5, 5, .82), rgba(5, 5, 5, .34) 58%, rgba(5, 5, 5, .12));
}

.tww-hero .twa-noise {
    z-index: 4;
}

.tww-hero .twa-hero__content,
.tww-hero .twa-scroll-link {
    z-index: 5;
}

.tww-hero .twa-hero__title {
    max-width: 980px;
}

.tww-hero .twa-hero__title>span {
    font-size: clamp(46px, 5.7vw, 86px);
    line-height: .94;
}

.tww-hero .twa-hero__intro {
    max-width: 580px;
}

/* Philosophy */
.tww-philosophy {
    overflow: hidden;
    background: var(--tww-paper);
    color: var(--twa-text, #171715);
}

.tww-philosophy__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .72fr);
    align-items: start;
    gap: clamp(50px, 8vw, 130px);
}

.tww-philosophy__grid .twa-display-title {
    max-width: 760px;
    font-size: clamp(42px, 5vw, 74px);
}

.tww-philosophy__grid .twa-copy {
    max-width: 570px;
}

.tww-philosophy__image {
    height: min(62vw, 820px);
    margin: clamp(72px, 9vw, 140px) 0 0;
    overflow: hidden;
}

.tww-philosophy__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Holistic approach */
.tww-approach {
    overflow: hidden;
    background: var(--tww-dark);
    color: #fff;
}

.tww-approach .twa-display-title {
    max-width: 900px;
    color: #fff;
    font-size: clamp(42px, 5vw, 76px);
}

.tww-approach__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(340px, .68fr);
    align-items: start;
    gap: clamp(60px, 9vw, 145px);
}

.tww-approach__media {
    position: relative;
    min-height: min(78vw, 980px);
}

.tww-approach__image {
    margin: 0;
    overflow: hidden;
}

.tww-approach__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tww-approach__image--main {
    width: 82%;
    height: min(62vw, 790px);
}

.tww-approach__image--detail {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 47%;
    height: min(36vw, 455px);

}

.image-border-12 {
    border: 12px solid var(--tww-dark) !important;
}

.tww-approach__copy {
    position: sticky;
    top: calc(var(--twa-header-h, 92px) + 42px);
    max-width: 600px;
    color: rgba(255, 255, 255, .74);
}

.tww-approach__copy p+p {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

/* Project types */
.tww-disciplines {
    background: var(--tww-paper);
    color: var(--twa-text, #171715);
}

.tww-disciplines__head {
    display: grid;
    grid-template-columns: 1fr minmax(300px, .52fr);
    gap: 0 clamp(48px, 8vw, 128px);
    align-items: end;
    margin-bottom: clamp(60px, 7vw, 105px);
}

.tww-disciplines__head .twa-label {
    grid-column: 1 / -1;
}

.tww-disciplines__head .twa-display-title {
    font-size: clamp(42px, 5vw, 76px);
}

.tww-disciplines__head .twa-copy {
    max-width: 560px;
}

.tww-disciplines__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 30px);
}

.tww-discipline {
    position: relative;
    height: min(52vw, 680px);
    min-height: 500px;
    margin: 0;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
}

.tww-discipline:nth-child(2) {
    margin-top: clamp(45px, 6vw, 90px);
}

.tww-discipline img {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.76);
    transition: transform 1.2s var(--twa-ease), filter .6s ease;
}

.tww-discipline:hover img {
    transform: scale(1.055);
    filter: saturate(1);
}

.tww-discipline__shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .05) 62%);
}

.tww-discipline>span {
    position: absolute;
    top: 28px;
    right: 28px;
    color: rgba(255, 255, 255, .66);
    font-size: 9px;
    letter-spacing: .2em;
}

.tww-discipline h3 {
    position: absolute;
    right: 30px;
    bottom: 30px;
    left: 30px;
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 3vw, 46px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.035em;
}

/* Marquee */
.tww-marquee {
    overflow: hidden;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    background: var(--tww-dark);
    color: #fff;
}

.tww-marquee__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: tww-marquee 25s linear infinite;
}

.tww-marquee__track span {
    padding: 0 34px;
    font-size: clamp(24px, 3vw, 48px);
    font-weight: 400;
    letter-spacing: -.02em;
}

.tww-marquee__track i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--tww-gold);
}

@keyframes tww-marquee {
    to {
        transform: translateX(-50%);
    }
}

/* Process */
.tww-process {
    background: var(--tww-dark);
    color: #fff;
}

.tww-process .twa-process-step {
    grid-template-columns: minmax(0, 1fr);
}

.tww-process .twa-display-title {
    color: #fff;
    font-size: clamp(42px, 5vw, 76px);
}

/* Responsive */
@media (max-width: 1100px) {

    .tww-philosophy__grid,
    .tww-approach__layout {
        gap: 58px;
    }

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

    .tww-discipline:nth-child(2) {
        margin-top: 54px;
    }

    .tww-discipline:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 8px);
        margin-left: auto;
    }
}

@media (max-width: 900px) {
    .tww-page .twa-mobile-panel {
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .tww-page .twa-mobile-panel__nav a {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .tww-page .twa-mobile-panel__nav a strong {
        font-size: clamp(25px, 7.4vw, 34px);
    }

    .tww-hero .twa-hero__content {
        right: 22px;
        left: 22px;
        width: auto;
    }

    .tww-hero .twa-hero__title>span {
        font-size: clamp(38px, 9.7vw, 60px);
    }

    .tww-hero .twa-hero__intro {
        margin-top: 20px;
        font-size: 15px;
    }

    .tww-philosophy__grid,
    .tww-approach__layout,
    .tww-disciplines__head {
        grid-template-columns: 1fr;
    }

    .tww-philosophy__image {
        height: 86vw;
        max-height: 700px;
    }

    .tww-approach__media {
        min-height: 106vw;
    }

    .tww-approach__image--main {
        height: 88vw;
        max-height: 720px;
    }

    .tww-approach__image--detail {
        height: 48vw;
        max-height: 400px;
        border-width: 8px;
    }

    .tww-approach__copy {
        position: static;
    }

    .tww-disciplines__head .twa-label {
        grid-column: auto;
    }
}

@media (max-width: 620px) {
    .tww-hero .twa-hero__content {
        right: 18px;
        left: 18px;
    }

    .tww-hero .twa-hero__title>span {
        font-size: clamp(33px, 10.5vw, 46px);
        line-height: .98;
    }

    .tww-hero .twa-hero__intro {
        max-width: 310px;
        font-size: 14px;
        line-height: 1.55;
    }

    .tww-philosophy__grid .twa-display-title,
    .tww-approach .twa-display-title,
    .tww-disciplines__head .twa-display-title,
    .tww-process .twa-display-title {
        font-size: clamp(33px, 9vw, 44px);
    }

    .tww-philosophy__image {
        height: 118vw;
    }

    .tww-approach__media {
        min-height: 132vw;
    }

    .tww-approach__image--main {
        width: 88%;
        height: 112vw;
    }

    .tww-approach__image--detail {
        width: 52%;
        height: 57vw;
    }

    .tww-disciplines__grid {
        grid-template-columns: 1fr;
    }

    .tww-discipline,
    .tww-discipline:nth-child(2),
    .tww-discipline:last-child {
        grid-column: auto;
        width: 100%;
        height: 128vw;
        min-height: 470px;
        margin: 0;
    }

    .tww-marquee__track span {
        padding: 0 24px;
    }
}

@media (max-width: 900px) and (max-height: 700px) {
    .tww-page .twa-mobile-panel {
        padding-top: 82px;
        padding-bottom: 14px;
    }

    .tww-page .twa-mobile-panel__nav {
        flex: 0 0 auto;
        justify-content: flex-start;
    }

    .tww-page .twa-mobile-panel__nav a {
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .tww-page .twa-mobile-panel__nav a strong {
        font-size: clamp(21px, 6vw, 27px);
    }

    .tww-page .twa-mobile-panel__footer {
        margin-top: auto;
        padding-top: 12px;
    }

    .tww-hero .twa-hero__content {
        top: 47%;
    }

    .tww-hero .twa-hero__title>span {
        font-size: clamp(30px, 7.2vh, 48px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tww-marquee__track {
        animation-play-state: paused;
    }
}

/* =========================================================
   HOLISTIC APPROACH — COMPACT EDITORIAL REDESIGN
========================================================= */
.tww-approach {
    position: relative;
    padding-top: clamp(88px, 8vw, 128px);
    padding-bottom: clamp(92px, 8vw, 132px);
    background:
        radial-gradient(circle at 72% 42%, rgba(168, 96, 58, .1), transparent 30%),
        var(--tww-dark);
}

.tww-approach .twa-section-head {
    align-items: end;
    margin-bottom: clamp(44px, 5vw, 70px);
}

.tww-approach .twa-display-title {
    max-width: 840px;
    font-size: clamp(44px, 4.7vw, 72px);
    line-height: .98;
}

.tww-approach__layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .78fr);
    gap: clamp(38px, 5vw, 78px);
    align-items: center;
}

.tww-approach__media {
    min-height: 0;
    height: clamp(570px, 61vw, 760px);
}

.tww-approach__image--main {
    width: 88%;
    height: 88%;
}

.tww-approach__image--main::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.tww-approach__image--detail {
    right: 0;
    bottom: 0;
    width: 44%;
    height: 43%;
    box-shadow: -18px -18px 55px rgba(0, 0, 0, .34);
}

.tww-approach__image--detail img {
    transform: none !important;
}

.tww-approach__image img {
    transition: transform 1.2s var(--twa-ease), filter .7s ease;
}

.tww-approach__media:hover .tww-approach__image--main img {
    transform: scale(1.035);
    filter: saturate(1.04);
}

.tww-approach__media:hover .tww-approach__image--detail img {
    transform: scale(1.06);
}

.tww-approach__copy {
    position: relative;
    top: auto;
    max-width: none;
    border-top: 1px solid rgba(255, 255, 255, .17);
}

.tww-approach-point {
    position: relative;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 20px;
    padding: clamp(24px, 2.6vw, 36px) 12px clamp(24px, 2.6vw, 36px) 0;
    border-bottom: 1px solid rgba(255, 255, 255, .17);
    transition: background .45s ease;
}

.tww-approach-point::before {
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: 0;
    width: 2px;
    content: "";
    background: var(--tww-gold);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .55s var(--twa-ease);
}

.tww-approach-point:hover,
.tww-approach-point.is-featured {
    background: linear-gradient(90deg, rgba(168, 96, 58, .12), transparent 82%);
}

.tww-approach-point:hover::before,
.tww-approach-point.is-featured::before {
    transform: scaleY(1);
}

.tww-approach-point>span {
    padding-top: 6px;
    padding-left: 12px;
    color: var(--tww-gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
}

.tww-approach-point h3 {
    margin: 0 0 10px;
    color: #fff;
    font-family: var(--twa-serif);
    font-size: clamp(24px, 2vw, 31px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.025em;
}

.tww-approach-point p {
    max-width: 510px;
    margin: 0;
    color: rgba(255, 255, 255, .66);
    font-size: 14px;
    line-height: 1.72;
    transition: color .35s ease;
}

.tww-approach-point:hover p,
.tww-approach-point.is-featured p {
    color: rgba(255, 255, 255, .84);
}

@media (max-width: 1100px) {
    .tww-approach__layout {
        grid-template-columns: minmax(0, .96fr) minmax(360px, .86fr);
        gap: 38px;
    }

    .tww-approach__media {
        height: 620px;
    }
}

@media (max-width: 900px) {
    .tww-approach .twa-section-head {
        margin-bottom: 42px;
    }

    .tww-approach__layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .tww-approach__media {
        height: min(112vw, 720px);
        min-height: 0;
    }

    .tww-approach__image--main {
        width: 88%;
        height: 88%;
    }

    .tww-approach__image--detail {
        width: 46%;
        height: 43%;
    }

    .tww-approach__copy {
        width: min(100%, 650px);
        margin-left: auto;
    }
}

@media (max-width: 560px) {
    .tww-approach {
        padding-top: 78px;
        padding-bottom: 84px;
    }

    .tww-approach .twa-section-head>span {
        display: none;
    }

    .tww-approach__media {
        height: 125vw;
        max-height: 610px;
    }

    .tww-approach__image--main {
        width: 92%;
        height: 88%;
    }

    .tww-approach__image--detail {
        width: 52%;
        height: 40%;
    }

    .image-border-12 {
        border-width: 7px !important;
    }

    .tww-approach-point {
        grid-template-columns: 30px 1fr;
        gap: 12px;
        padding: 24px 4px 24px 0;
    }

    .tww-approach-point h3 {
        font-size: 24px;
    }

    .tww-approach-point>span {
        padding-left: 8px;
    }
}
/* Square discipline cards */
.tww-disciplines__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    max-width: none;
    margin-inline: 0;
}

.tww-discipline,
.tww-discipline:last-child {
    grid-column: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
    margin-left: 0;
}

.tww-discipline:nth-child(2) {
    margin-top: 0;
}

@media (max-width: 700px) {
    .tww-disciplines__grid {
        grid-template-columns: 1fr;
        max-width: 620px;
    }

    .tww-discipline,
    .tww-discipline:nth-child(2),
    .tww-discipline:last-child {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / 1;
        margin: 0;
    }
}