/*
 Theme Name: Hey Studio
 Author: Federico Salort,
 Reviewer: Josep Jorba
 Author URI: http://federicosalort.com/
 Description: Theme developed for Hey Studio
 Version: 1.2
Tags: blog, hey, hey studio, design, custom-theme
 */
html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /* overscroll-behavior: none; */
    font-weight: normal;
    -webkit-text-size-adjust: 100%;
}

html * {
    /* overscroll-behavior: none; */
}

body {
    margin: 0px;
    margin: auto;
    overflow: auto;
    height: auto;
    overflow: auto;
    padding: 0px !important;
    font-family: var(--hs-font-body, Helvetica, 'Helvetica Neue', Arial);
    font-weight: normal;
    color: white;
    font-size: var(--hs-md);
    line-height: var(--hs-lh-md);
    background: #000000;
    cursor: none;
}

/* Hide native cursor on all interactive elements */
@media (hover: hover) and (pointer: fine) {
    *, *::before, *::after { cursor: none !important; }
}

.mobile {
    display: none;
}

header {
}

.index_container::-webkit-scrollbar,.about_container::-webkit-scrollbar,html::-webkit-scrollbar, body::-webkit-scrollbar, .ui-selectmenu-menu .ui-menu::-webkit-scrollbar, #gallery_cases_class_wrapper::-webkit-scrollbar,.project_container_credits::-webkit-scrollbar {
    /* display: none;*/
}

html, body {
    -ms-overflow-style: none;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.overflow_hidden {
    overflow: hidden !important;
}

body * {
    outline: none;
    margin-top: 0;
}

div, ul, li, header, footer, a, figure, img {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

body:before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.6724137931034482vw;
    height: 100%;
    background: red;
    width: 1px;
    z-index: 100;
    display: none
}

body:after {
    content: '';
    position: absolute;
    top: 0;
    right: 1.6724137931034482vw;
    height: 200%;
    background: red;
    width: 1px;
    z-index: 100;
    display: none
}

b, strong, h1, h2, h3, h4, h5, h6, label {
    font-weight: normal;
}

textarea, input[type="text"], input[type="button"], input[type="submit"], input, button {
    -webkit-appearance: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 0;
}

a {
    color: white;
}

b, strong {
}

.clear::after {
    clear: both;
    display: block;
    content: '';
}

a {
    text-decoration: none
}

header {
}

html::-webkit-scrollbar, body::-webkit-scrollbar, textarea::-webkit-scrollbar {
    /* display: none;*/
}

.body *, body, a, label {
}

#masthead {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid white;
    height: 3.9310344827586206vw;
    z-index: 10;
    background: black;
}

.favicons {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
}

.main_menu {
    position: absolute;
    right: 0.9655172413793104vw;
    top: 0;
    right: 1.75vw;
}

.main_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main_menu ul li {
    display: inline-block;
    line-height: 3.931034482758621vw;
    margin-left: 1.8vw;
    /* CAMBIO 3 — nav size aumentado */
    font-size: clamp(12px, 1.0vw, 15px);
    letter-spacing: 0.04em;
}

.main_menu ul li a {
    opacity: 0.5;
    -moz-transition: opacity .25 ease;
    -ms-transition: opacity .25 ease;
    -o-transition: opacity .25 ease;
    transition: opacity .25s ease;
    display: block;
}

.main_menu ul li.active a {
    opacity: 1;
}

.main_menu ul li.active a:after {
    width: 100%;
}

.main_menu ul li a:after {
    bottom: 1.18vw;
}

.logo {
    width: auto;
    position: absolute;
    left: 1.1724137931034482vw;
    top: 50%;
    -webkit-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
    /* CAMBIO 3 — logo size aumentado */
    font-size: clamp(14px, 1.15vw, 18px);
    line-height: 1;
    letter-spacing: 0.01em;
}

.logo svg {
    width: 100%;
    display: block;
    height: auto;
}

.underline {
    position: relative;
}

.underline:after {
    position: absolute;
    bottom: 0px;
    content: '';
    background: white;
    height: 0.06896551724137931vw;
    min-height: 1px;
    width: 0;
    left: 0;
    -moz-transition: width .25s linear;
    -ms-transition: width .25s linear;
    -o-transition: width .25s linear;
    transition: width .25s linear;
}

.inverted_underline.underline:after {
    width: 100%;
}

#page {
    min-height: 100vh;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER — Minimal identity. Signature line on top.
══════════════════════════════════════════════════════════════ */
#colophon {
    border-top: 1px solid rgba(255,255,255,0.18);
    height: auto;
    padding: 0 1.67vw;
    position: relative;
}

/* Second identity line — below footer content */
#colophon::after {
    content: '';
    display: block;
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin-top: 0;
}

#colophon .footer_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.9310344827586206vw;
    min-height: 48px;
}

#colophon .footer_wrapper .footer_menu {
    display: contents;
    width: auto;
    line-height: 1;
}

#colophon .footer_wrapper .footer_menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 3vw;
    width: 100%;
    justify-content: space-between;
}

#colophon .footer_wrapper .footer_menu ul li {
    display: block;
    padding: 0;
    font-size: var(--hs-sm);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.55;
    transition: opacity 0.2s;
}

#colophon .footer_wrapper .footer_menu ul li:hover {
    opacity: 1;
}

#colophon .footer_wrapper .footer_menu ul li a {
    color: inherit;
    text-decoration: none;
}

#colophon .footer_wrapper .footer_menu ul li a label {
    font-weight: normal;
    cursor: pointer;
}

#colophon .footer_wrapper .footer_menu ul li a:not(:link):after {
    display: none;
}

#colophon .footer_wrapper .footer_menu ul li:first-child {
    /* Copyright — stays left */
}

#colophon .footer_wrapper .footer_menu ul li:last-child {
    text-align: right;
}

#colophon .footer_wrapper .footer_menu ul li:last-child a:after {
    right: 0;
    left: auto;
}



.news_slider_container {
    padding-top: 3.9310344827586206vw;
    border-bottom: 1px solid white;
}

.values_container {
    padding: 4.8275vw 5.2414vw 4.8275vw 2.0689vw;
}

.main_title {
    /* text-align:center; */
    margin-bottom: 7.517241379310345vw;
}

.main_title p,.main_title h1,.main_title h2 {
    font-size: 3.45vw;
    line-height: 3.93vw;
    letter-spacing: -0.02em;
    margin: 0;
}

.values_list {
    /* your styles here */
}

.value_item {
    /* your styles here */
    margin-bottom: 5.172413793103448vw;
}

.clear {
    /* your styles here */
}

.value_item_title {
    /* your styles here */
    width: 42.89655172413793vw;
    font-size: 3.45vw;
    line-height: 3.93vw;
    float: left;
    transition-delay: .2s;
}

.value_item_text {
    width: auto;
    overflow: hidden;
    line-height: 125%;
    padding-top: 1.97vw;
}

.value_item_title p {
}

.value_item_text p {
    /* your styles here */
    margin: 0;
}

.contact_container {
    padding: 4.8275vw 4.413793103448276vw 3.8275vw 2.0689vw;
}

.contact_details {
}

.contact_details_item {
    margin-bottom: 7.517241379310345vw;
}

.contact_details_item:last-child {
    margin: 0;
}

.contact_details_main_title {
    width: 42.89655172413793vw;
    font-size: 3.45vw;
    line-height: 3.93vw;
    letter-spacing: -0.02em;
    float: left;
    padding-right: 3vw;
    margin-bottom: 0;
    transition-delay: .2s;
}

.contact_details_text {
    width: auto;
    overflow: hidden;
    padding-top: 1.3793103448275863vw;
}

.contact_details_column {
    width: 50%;
    float: left;
    padding-right: 1vw;
}

.contact_details_column p {
    opacity: 0;
}

.contact_details_column1 {
}

.contact_details_column2 {
    width: auto;
    float: right;
    max-width: 50%;
}

.underline_inverted {
}

b,strong {
    font-weight: bold;
}

.website_unloading #content, .website_unloading #colophon {
    opacity: 0
}

.first_load #content, .first_load #colophon {
    opacity: 0
}

#content,#colophon {
    -moz-transition: opacity .25 ease;
    -ms-transition: opacity .25 ease;
    -o-transition: opacity .25 ease;
    transition: opacity .25s ease;
}

.loading_page [data-aos^=fade],.block_show_effects .main_grid_container .main_grid .grid_item a {
    -moz-transition: unset!important;
    -ms-transition: unset!important;
    -o-transition: unset!important;
    transition: unset!important;
}

[data-aos=fade-up] {
    transform: translate3d(0,100px,0);
}

[data-aos^=fade][data-aos^=fade] {
    opacity: 0;
    transition-property: opacity,transform;
}

[data-aos][data-aos], body[data-aos] {
    transition-duration: 1.4s;
}

[data-aos][data-aos][data-aos-easing=ease], body[data-aos-easing=ease] [data-aos] {
    transition-timing-function: ease;
}

[data-aos^=fade][data-aos^=fade].aos-animate {
    opacity: 1;
    transform: translateZ(0);
}

.main_grid_container {
    padding: 3.1724137931034484vw 0.7016283524905111vw;
    /* clear: both; */
    position: relative;
}

.main_grid_container .main_grid {
    width: 100% !important;
}

.main_grid_container .main_grid .grid_item {
    width: 33.33%;
    /* padding: 0 1.0344827586206897vw; */
    float: left;
    padding: 0 1.0344827586206897vw;
    padding-bottom: 2.5517241379310347vw;
}

.isotope-inactive a .grid_item_image {
    filter: blur(.5vw)
}

.isotope-inactive a .grid_item_footer {
    opacity: .2;
}

.main_grid_container .main_grid .grid_item a {
    display: block;
}

.main_grid_container .main_grid .grid_item a .grid_item_image {
    border-radius: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    position: relative;
    isolation: isolate;
}

.main_grid_container .main_grid .grid_item a .grid_item_image video,.has_video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 101%;
    height: 101%;
    object-fit: cover;
    object-position: center;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.has_video {
    position: relative;
}

.main_grid_container .main_grid .grid_item a .grid_item_image img {
    display: block;
    width: 100%;
}

.main_grid_container .main_grid .grid_item a .grid_item_footer {
    padding-top: 0.8275862068965517vw;
    -moz-transition: opacity .25s ease;
    -ms-transition: opacity .25s ease;
    -o-transition: opacity .25s ease;
    transition: opacity .25s ease;
}

.main_grid_container .main_grid .grid_item a .grid_item_footer .grid_item_title {
    font-size: var(--hs-sm);
    line-height: var(--hs-lh-sm);
    letter-spacing: -0.01em;
}

.main_grid_container .main_grid .grid_item a .grid_item_footer .grid_item_excerpt {
    padding-top: .5vw;
}

.filters_container {
}

.filters_container .filters_container_selector {
    border-bottom: 1px solid white;
    height: 3.0344827586206895vw;
    line-height: 3.0344827586206895vw;
    position: relative;
    z-index: 2;
    background: black;
}

.filters_container .filters_container_selector .filter_item {
    position: relative;
    float: left;
    width: 50%;
    border-right: 1px solid white;
    padding-left: 1.6vw;
    cursor: pointer;
    -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}

.filter_is_open .filters_container .filters_container_selector .filter_item:not(.open) span, .filter_is_open .filters_container .filters_container_selector .filter_item:not(.open) .select_arrow {
    opacity: .3
}

.filters_container .filters_container_selector .filter_item:last-child {
    border-right: none;
}

.filters_container .filters_container_selector .filter_item .select_arrow {
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
    right: 1.793103448275862vw;
    width: 0.7638888888888889vw;
    height: 0.7638888888888889vw;
}

.filters_container .filters_container_selector .filter_item .select_arrow svg {
    display: block;
    width: 100%;
    height: 100%;
    -moz-transition: transform .25s ease;
    -ms-transition: transform .25s ease;
    -o-transition: transform .25s ease;
    transition: transform .25s ease;
}

.filters_container .filters_container_selector .filter_item .select_arrow svg {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.filters_container .filters_container_selector .filter_item .select_arrow svg path {
    -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}

.filters_container .filter_options {
    clear: both;
}

.filters_container .filter_options .filter_labels_container {
    height: 0px;
    overflow: hidden;
    transition: height .5s cubic-bezier(0.56, 0.06, 0, 1);
    /* border-bottom: 1px solid white; */
    top: -1px;
    position: relative;
    background: black;
}

.filters_container .filter_options .filter_labels_container.open {
    transition: height 1s cubic-bezier(0.56, 0.06, 0, 1);
}

.filters_container .filter_options .filter_labels_container:last-child {
    top: -2px;
}

.filters_container .filter_options .filter_labels_container .categories_filters_option {
    background: #000000;
    border: 1px solid white;
    border-radius: 1.9310344827586208vw;
    display: inline-block;
    margin: 0.27586206896551724vw;
    padding: 0 0.6896551724137931vw;
    cursor: pointer;
    line-height: 1.9310344827586208vw;
    -moz-transition: background .25s ease,color .25s ease;
    -ms-transition: background .25s ease,color .25s ease;
    -o-transition: background .25s ease,color .25s ease;
    transition: background .25s ease,color .25s ease;
    padding-top: 0.1041666666666667vw;
    float: left;
}

.filters_container .filter_options .filter_labels_container .filter_labels_container_wrapper {
    padding: 0.551724136vw 1vw;
}

.filters_container .filter_options .filter_labels_container .categories_filters_option a {
}

.filters_container .filter_options .filter_labels_container .categories_filters_option.active {
    background: white;
    color: black;
}

.filters_container .filter_options .filter_labels_container:first-child {
    z-index: 1
}

.selected_count {
    display: inline-block;
    margin-left: .3vw;
    -moz-transition: opacity .25s ease;
    -ms-transition: opacity .25s ease;
    -o-transition: opacity .25s ease;
    transition: opacity .25s ease;
}

.filters_container .filters_container_selector .filter_item.open .selected_count {
    opacity: 0;
}

.news_slider_container {
}

.single-project .news_slider_container,.page-template-template_intro .news_slider_container,.page-template-template_intro #colophon {
    display: none;
}

.news_slider_container .news_slider_container_wrapper {
    height: 9.172413793103448vw;
    /* padding: 0 1.5vw; */
    overflow: hidden;
    width: 100%;
}

.news_slider_container .news_slider_container_wrapper .swiper {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.news_slider_container .news_slider_container_wrapper .swiper:after, .news_slider_container .news_slider_container_wrapper .swiper:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 8.333333333333333vw;
    z-index: 3;
    background: linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0) 100%);
    display: block;
    pointer-events: none;
}

.news_slider_container .news_slider_container_wrapper .swiper:after {
    right: 0;
    left: auto;
    /* transform: rotate(90deg); */
    background: linear-gradient(-90deg, #000000 0%, rgba(0, 0, 0, 0) 100%);
}

.news_slider_container .news_slider_container_wrapper .swiper:before {
}

.news_slider_container .news_slider_container_wrapper .swiper .swiper-wrapper {
    height: 100;
}

.news_slider_container .news_slider_container_wrapper .swiper .swiper-wrapper .swiper-slide {
    position: relative;
    padding: 1.14vw 1.5vw 1.14vw 2.5vw;
    height: 100%;
}

.news_slider_container .news_slider_container_wrapper .swiper .swiper-wrapper .swiper-slide .news_item {
    display: block;
    height: 100%;
}

.news_slider_container .news_slider_container_wrapper .swiper .swiper-wrapper .swiper-slide .news_item {
}

.news_slider_container .news_slider_container_wrapper .swiper .swiper-wrapper .swiper-slide .news_item .news_item_container {
    height: 100%;
}

.news_slider_container .news_slider_container_wrapper .swiper .swiper-wrapper .swiper-slide .news_item .news_item_container .news_item_image {
    float: left;
    height: 100%;
    width: 6.896551724137931vw;
    background-size: cover;
    background-position: center;
    border-radius: 0;
    overflow: hidden;
}

.news_slider_container .news_slider_container_wrapper .swiper .swiper-wrapper .swiper-slide .news_item .news_item_container .news_item_image .news_item_image_ob {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    -moz-transition: filter .25s ease, transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
    -ms-transition: filter .25s ease, transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
    -o-transition: filter .25s ease, transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
    transition: filter .25s ease, transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

.news_slider_container .news_slider_container_wrapper .swiper .swiper-wrapper .swiper-slide .news_item .news_item_container .news_item_text {
    line-height: 1.527777777777778vw;
    width: auto;
    overflow: hidden;
    padding-left: 1.103448275862069vw;
    padding-bottom: .3vw;
}

.news_slider_container .news_slider_container_wrapper .swiper .swiper-button-next {
    right: .5vw;
}

.news_slider_container .news_slider_container_wrapper .swiper .swiper-button-prev {
    left: .5vw;
}

.news_slider_container .news_slider_container_wrapper .swiper .swiper-button-next svg {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.news_slider_container .news_slider_container_wrapper .swiper .swiper-button-prev svg {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.news_slider_container .news_slider_container_wrapper .swiper .swiper-button-prev,.news_slider_container .news_slider_container_wrapper .swiper .swiper-button-next {
    width: 1.103448275862069vw;
    cursor: pointer;
    display: none;
}

.news_slider_container .news_slider_container_wrapper .swiper .swiper-button-prev svg ,.news_slider_container .news_slider_container_wrapper .swiper .swiper-button-next svg {
    display: block;
    width: 100%;
}

.news_slider_container .news_slider_container_wrapper .swiper .swiper-button-next:after {
    display: none
}

.news_slider_container .news_slider_container_wrapper .swiper .swiper-button-prev:after {
    display: none
}

.project_container {
    padding: 1.8620689655172413vw 2.413793103448276vw;
    padding-bottom: 0;
    padding-top: 5.79310344751vw;
}

.project_container .project_hero_container {
    height: 51.172413793103445vw;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.project_container .project_hero_container .project_hero_image {
    height: 100%;
    background-size: cover;
    background-position: center;
}

.related_projects_title {
    font-size: 4.4138vw;
    /* 64px / 14.5 */
    line-height: 99.49%;
    letter-spacing: -0.004828vw;
    padding-left: 1.731034vw;
    font-size: 1.6vw;
    line-height: 2vw;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ── Next project — full-width editorial link ── */
.next_project_block {
    border-top: 1px solid var(--hs-rule-dark);
    margin-top: 7vw;
}

.next_project_link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 3vw 0 0;
    position: relative;
    overflow: hidden;
}

.next_project_label {
    font-family: var(--hs-font-mono, 'Courier New', monospace);
    font-size: var(--hs-xs);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.38;
    color: #fff;
    margin-bottom: 0.8vw;
}

.next_project_title {
    font-size: var(--hs-xl);
    line-height: var(--hs-lh-xl);
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 2.5vw;
    transition: opacity 0.3s ease;
}

.next_project_link:hover .next_project_title {
    opacity: 0.7;
}

.next_project_image {
    width: 100%;
    overflow: hidden;
    max-height: 55vw;
}

.next_project_image img {
    display: block;
    width: 100%;
    height: 45vw;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.next_project_link:hover .next_project_image img {
    transform: scale(1.04);
}

@media (max-width: 900px) {
    .next_project_label { font-size: 3vw; }
    .next_project_title { margin-bottom: 5vw; }
    .next_project_image img { height: 60vw; }
}

.project_container {
}

.project_hero_container {
}

.project_hero_image {
}

.project_body {
}

.project_header {
}

.project_title {
    padding: 1.862069vw 0 1.517241vw 0;
    font-size: var(--hs-xl);
    line-height: var(--hs-lh-xl);
    letter-spacing: -0.02em;
}

.project_big_text {
    font-size: var(--hs-2xl);
    line-height: var(--hs-lh-2xl);
    letter-spacing: -0.02em;
}

.project_credits {
    width: 34.41379310344828vw;
    /* 42.89655172413793px / 14.5 */
    float: left;
    padding-right: 2.275862vw;
    /* 4px / 14.5 */
    margin-top: .6vw;
    position: sticky;
    top: 5vw;
    align-self: start;
}

.project_credit_item {
    margin-bottom: 1em;
}

.project_credit_title {
}

.project_main_content {
    padding: 4.689655vw 0;
    /* 68px / 14.5, 0 */
}

.project_main_text {
    width: auto;
    overflow: hidden;
}

.project_main_text_item {
    line-height: 1.724138vw;
    /* 25px / 14.5 */
}

.project_main_text_item.section_color {
    font-size: 2.068966vw;
    /* 30px / 14.5 */
    line-height: 2.344828vw;
    /* 34px / 14.5 */
    letter-spacing: -0.02em;
    /* -0.02em / 14.5 */
}

.project_images {
    /* Gutter between image sets */
    width: 100%;
}

.project_images > div {
    margin-bottom: 2vw;
    width: 100%;
    display: block;
}

.project_image_container {
    width: 100%;
}

.project_image {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    margin-bottom: 2.896552vw;
    width: 100%;
    text-align: center;
}

.project_image img {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.project_images .project_image {
}

/* Horizontal parallax targets — applied via JS on scroll */
.hpx-text {
    will-change: transform;
}

.fade_delay1 {
    transition-delay: .25s;
}

.fade_delay2 {
    transition-delay: .50s;
}

.fade_delay3 {
    transition-delay: .75s;
}

.project_two_images {
}

.project_two_images .project_image_container {
    float: left;
    width: 50%;
}

.project_two_images .project_image_container:first-child {
    padding-right: 1.0344827586206897vw
}

.project_two_images .project_image_container:last-child {
    padding-left: 1.0344827586206897vw
}

.project_two_images {
}

.project_three_images .project_image_container {
    float: left;
    width: 33.33%;
}

.project_three_images .project_image_container:nth-child(1) {
    padding-right: 1.379310344827585vw;
}

.project_three_images .project_image_container:nth-child(2) {
    padding-right: 0.6896551724137927vw;
    padding-left: 0.6896551724137927vw;
}

.project_three_images .project_image_container:nth-child(3) {
    padding-left: 1.379310344827585vw;
}

.project_three_images .project_image_container:nth-child(4) {
}

.project_four_images .project_image_container {
    float: left;
    width: calc((100% - 6.206896551724133vw)/4);
}

.project_four_images .project_image_container:nth-child(1) {
    margin-right: 2.068965517241378vw;
    padding: 0;
}

.project_four_images .project_image_container:nth-child(2) {
    margin-right: 2.068965517241378vw;
    padding: 0;
}

.project_four_images .project_image_container:nth-child(3) {
    margin-right: 2.068965517241378vw;
    padding: 0;
}

.project_four_images .project_image_container:nth-child(4) {
    margin-right: 0;
    padding: 0;
}

.related_projects .main_grid_container {
    padding-top: 2.5vw;
}

.intro_container {
}

.main_grid_container .main_grid .grid_item a .grid_item_image .grid_item_image_ob {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    -moz-transition: filter .25s ease, transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
    -ms-transition: filter .25s ease, transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
    -o-transition: filter .25s ease, transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
    transition: filter .25s ease, transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

.logo svg path {
    -moz-transition: fill .25 ease;
    -ms-transition: fill .25 ease;
    -o-transition: fill .25 ease;
    transition: fill .25s ease;
}

.home .logo svg path {
    fill: white !important;
}

.home #masthead {
    border: none;
    background: transparent;
    mix-blend-mode: difference;
}

.contact_details_column strong {
    font-weight: normal;
}

.newsletter_module {
    width: 30.97222222222222vw;
    padding-bottom: 4.677083vw;
}

.newsletter_module .newsletter_form_container {
}

.newsletter_module .newsletter_form_container .newsletter_form_content {
}

.newsletter_module .newsletter_form_container .newsletter_form_content form .newsletter_content {
}

.newsletter_module .newsletter_form_container .newsletter_form_content form .newsletter_content .newsletter_form_inputs {
    border-bottom: 1px solid white;
    padding-bottom: .6vw;
}

.newsletter_module .newsletter_form_container .newsletter_form_content form .newsletter_content .newsletter_form_inputs .newsletter_form_input_container {
    display: inline-block;
}

.newsletter_module .newsletter_form_container .newsletter_form_content form .newsletter_content .newsletter_form_inputs .newsletter_form_input_container.newsletter_email_container {
    float: left;
    width: calc(100% - 7vw);
}

.newsletter_module .newsletter_form_container .newsletter_form_content form .newsletter_content .newsletter_form_inputs .newsletter_form_input_container.newsletter_email_container input {
    border: none;
    background: transparent;
    padding: 0;
    font-size: var(--hs-md);
    line-height: var(--hs-lh-md);
    color: white;
    width: 100%;
}

.newsletter_module .newsletter_form_container .newsletter_form_content form .newsletter_content .newsletter_form_inputs .newsletter_form_input_container.submit_input_container {
    float: right;
    width: 7vw;
}

.newsletter_module .newsletter_form_container .newsletter_form_content form .newsletter_content .newsletter_form_inputs .newsletter_form_input_container.submit_input_container input {
    border: none;
    background: transparent;
    padding: 0;
    font-size: var(--hs-md);
    line-height: var(--hs-lh-md);
    color: white;
    /* width: 2vw; */
    text-align: center;
    cursor: pointer;
    /* margin-left: .4vw; */
    width: 100%;
    text-align: right;
}

.newsletter_module .newsletter_form_container .newsletter_form_content form .newsletter_content .newsletter_form_inputs .newsletter_form_input_container.submit_input_container input:disabled {
    opacity: .5;
    cursor: default;
}

.newsletter_thanks_wrapper {
    position: absolute;
    font-size: var(--hs-sm);
    line-height: var(--hs-lh-sm);
    color: #02B55E;
    margin-top: 0.763888888888889vw;
    transition: opacity .25s ease;
    opacity: 0;
}

.newsletter_thanks_wrapper.visible {
    opacity: 1;
}

.newsletter_thanks_wrapper .newsletter_thanks_container {
}

.newsletter_thanks_wrapper .newsletter_thanks_container label {
}

.newsletter_module .newsletter_form_container .newsletter_form_content form .newsletter_content .newsletter_form_inputs .newsletter_form_input_container.newsletter_form_input_container input::placeholder {
    opacity: 0.5;
    color: white;
}

.newsletter_module .newsletter_form_container .newsletter_form_content form .newsletter_content .newsletter_form_inputs .newsletter_form_input_container.newsletter_form_input_container input:-ms-input-placeholder {
    opacity: 0.5;
    color: white;
}

.newsletter_module .newsletter_form_container .newsletter_form_content form .newsletter_content .newsletter_form_inputs .newsletter_form_input_container.newsletter_form_input_container input::-ms-input-placeholder {
    opacity: 0.5;
    color: white;
}

.newsletter_module .newsletter_form_container .newsletter_form_content form .newsletter_content .newsletter_form_inputs .newsletter_form_input_container.newsletter_form_input_container input::-webkit-input-placeholder {
    opacity: 0.5;
    color: white;
}

.newsletter_error {
    position: absolute;
    font-size: var(--hs-sm);
    line-height: var(--hs-lh-sm);
    color: #F4BA27;
    margin-top: 0.7638888888888889vw;
    transition: opacity .25s ease;
    opacity: 0;
}

.empty_error .newsletter_error, .invalid_email .newsletter_error {
    opacity: 1;
}

.newsletter_title {
    margin-bottom: 1.597222222222222vw;
}

/* All pages except frontpage need padding-top to clear the fixed masthead */
.hide_news #page {
    padding-top: 3.9310344827586206vw
}

/* Frontpage: gallery sits just below the fixed nav + small breath */
body.tpl_frontpage .hide_news #page,
body.tpl_frontpage #page {
    padding-top: calc(3.9310344827586206vw + 16px) !important;
}

/* ══════════════════════════════════════════════════════════════
   FRONT PAGE — HERO SLIDESHOW
══════════════════════════════════════════════════════════════ */

.primary_frontpage {
    padding-top: 0; /* hero is full-bleed under fixed header */
}

/* ─── NO-HERO VARIANT ──────────────────────────────────────────
   When the home has no hero slides, the page should be white and
   the project grid should sit just below the fixed #masthead
   instead of leaving the empty 100vh space that the hero used to fill.
*/
body.no_hero_state,
body.no_hero_state #page,
body.no_hero_state #content,
body.no_hero_state .site_container {
    background: #ffffff;
}

.primary_frontpage.no_hero {
    background: #ffffff;
    padding-top: 0; /* #page already clears masthead via .hide_news #page */
}

.primary_frontpage.no_hero #fp_gallery_wrap {
    padding-bottom: 6vw; /* trimmed: the original 30vw assumed hero context */
}

.fp_hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: black;
}

.fp_hero_slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}

.fp_hero_slide.active {
    opacity: 1;
    pointer-events: auto;
}

.fp_hero_slide_link {
    display: block;
    width: 100%;
    height: 100%;
}

.fp_hero_bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.06);
    transition: transform 10s ease-out;
}

.fp_hero_slide.active .fp_hero_bg {
    transform: scale(1);
}

.fp_hero_caption {
    position: absolute;
    bottom: 4vw;
    left: 1.5vw;
    z-index: 3;
}

.fp_hero_caption_text {
    display: inline-block;
    font-size: var(--hs-sm);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
}

.fp_hero_nav {
    position: absolute;
    bottom: 2vw;
    right: 1.5vw;
    display: flex;
    align-items: center;
    gap: 0.6vw;
    z-index: 5;
}

.fp_hero_prev,
.fp_hero_next {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    padding: 4px;
    line-height: 0;
}

.fp_hero_prev:hover,
.fp_hero_next:hover { opacity: 1; }

.fp_hero_prev svg,
.fp_hero_next svg {
    width: 1.2vw;
    height: 1.2vw;
    stroke: white;
    fill: none;
}

.fp_hero_prev { transform: rotate(180deg); }

.fp_hero_dots {
    display: flex;
    gap: 0.4vw;
    align-items: center;
}

.fp_hero_dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.5);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
}

.fp_hero_dot.active {
    background: white;
    border-color: white;
}


/* ══════════════════════════════════════════════════════════════
   FRONT PAGE — PARALLAX GALLERY
   Layout: [col0 40%] [col1 20%] [col2 20%] [col3 20%]
══════════════════════════════════════════════════════════════ */

#fp_gallery_wrap {
    padding-top: 2px;
    padding-bottom: 30vw;
}

#fp_gallery {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    align-items: flex-start;
    overflow: visible;
    box-sizing: border-box;
    width: 100%;
}

.fp_col {
    flex: 1 1 0;              /* grow ratio 1 from a zero basis */
    min-width: 0;             /* prevent content from inflating the column */
    display: flex;
    flex-direction: column;
    gap: 20px;
    will-change: transform;
}

.fp_col_wide {
    flex: 2 1 0;              /* grow ratio 2 → exactly twice the others */
}

/* Card — height variable, driven by the real image inside */
.fp_thumb {
    position: relative;
    overflow: hidden;
    background: #111;
    width: 100%;
    cursor: none;
    /* No ::before padding trick — height is set by the <img> */
}

/* No fixed aspect ratio — let the image dictate height */
.fp_thumb::before {
    display: none;
}

.fp_thumb_wide::before {
    display: none;
}

.fp_thumb_bg {
    /* Now used as overlay layer only — the real img drives the height */
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Hide bg-image fallback — real img is shown instead */
    background-image: none !important;
}

.fp_thumb:hover .fp_thumb_bg {
    transform: scale(1.04);
}

/* Real image — drives the thumb height, full width */
.fp_thumb .fp_thumb_real_img {
    display: block !important;
    width: 100%;
    height: auto;
    vertical-align: bottom;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    position: relative;
    z-index: 1;
}

.fp_thumb:hover .fp_thumb_real_img {
    transform: scale(1.04);
}

.fp_thumb_link {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
}

.fp_thumb_title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 10px 8px;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: white;
    opacity: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    transition: opacity 0.25s;
    z-index: 3;
    pointer-events: none;
}

.fp_thumb:hover .fp_thumb_title {
    opacity: 1;
}

/* Keep fp_thumb as positioning context */
.fp_thumb {
    position: relative;
}

/* ── Tag label BELOW thumb image — HIDDEN (removed per design) ── */
.fp_thumb_tag_below {
    display: none !important;
}

.fp_col > div:hover .fp_thumb_tag_below {
    transform: none;
}

/* ══════════════════════════════════════════════════════════════
   SINGLE PROJECT — CREDITS FOOTER
   Stacked centered editorial layout. Dark anthracite block.
   No top/bottom border lines — the block itself is the separator.
══════════════════════════════════════════════════════════════ */
.project_credits_footer {
    margin-top: 7vw;
    margin-left: calc(-1 * var(--project-pad, 4vw));
    margin-right: calc(-1 * var(--project-pad, 4vw));
    padding: 4vw 0 5vw;
    background: #181818;
    border-top: none;
    box-shadow: none;
    text-align: center;
}

/* No decorative lines */
.project_credits_footer::before,
.project_credits_footer::after {
    display: none;
}

.pcf_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
}

/* Section heading */
.pcf_inner::before {
    content: 'Credits';
    display: block;
    font-family: var(--hs-font-mono, 'Courier New', monospace);
    font-size: var(--hs-sm);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    margin-bottom: 2vw;
}

/* Each credit row */
.project_credits_footer .project_credit_item {
    width: 100%;
    max-width: 280px;
    padding: 0.9vw 0;
    margin-bottom: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2vw;
}

.project_credits_footer .project_credit_item:first-child { padding-left: 0; }

.project_credits_footer .project_credit_item:last-child {
    border-bottom: none;
    border-right: none;
}

/* Label — mono uppercase, muted */
.project_credits_footer .project_credit_title:first-child {
    font-family: var(--hs-font-mono, 'Courier New', monospace);
    font-size: var(--hs-sm);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.4;
    color: #fff;
    display: block;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Value */
.project_credits_footer .project_credit_title:last-child,
.project_credits_footer .project_credit_title + .project_credit_title {
    font-size: var(--hs-md);
    line-height: var(--hs-lh-md);
    color: rgba(255,255,255,0.8);
    opacity: 1;
}

.project_credits_footer .project_credit_title a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    transition: border-color 0.2s;
}
.project_credits_footer .project_credit_title a:hover {
    border-color: rgba(255,255,255,0.5);
}



/* ── Project intro text — full width, above images ── */
.project_intro_text {
    padding: 1.5vw 0 2vw;
    max-width: 60vw;
}

/* ══════════════════════════════════════════════════════════════
   SINGLE PROJECT — IMAGES FULL-WIDTH, CENTERED
   Horizontal parallax removed. Images display at natural width,
   centered, no horizontal shift.
══════════════════════════════════════════════════════════════ */
#project_images_wrap .project_one_images,
#project_images_wrap .project_two_images,
#project_images_wrap .project_three_images,
#project_images_wrap .project_four_images {
    /* No will-change, no transform — static, full-width */
    transform: none !important;
}

/* ══════════════════════════════════════════════════════════════
   EDITORIAL SYSTEM — shared vocabulary across white pages
   Used by /work index and /about. Single set of design tokens
   so titles, captions, dividers and spacing match everywhere.
══════════════════════════════════════════════════════════════ */

:root {
    --ed-fg: #111;
    --ed-fg-muted: rgba(17,17,17,0.55);
    --ed-bg: #ffffff;
    --ed-rule: rgba(17,17,17,0.18);
    --ed-pad-top: 2.5vw;
    --ed-pad-x: 2vw;

    /* ── Identity Line System ── */
    --hs-rule-dark:  rgba(255,255,255,0.14);
    --hs-rule-light: rgba(17,17,17,0.14);
    --hs-rule-accent: rgba(255,255,255,0.35);

    /* ══════════════════════════════════════════════════════════
       TYPE SCALE — 6 levels, clamp-based
       clamp(min, fluid, max) — works at all viewport sizes,
       no !important mobile overrides needed.
       Body font = var(--hs-font-body)  → all text, titles, values
       Mono font  = var(--hs-font-mono) → labels, meta, uppercase only
    ══════════════════════════════════════════════════════════ */
    --hs-2xl: clamp(32px, 3.8vw, 64px);   /* About manifesto display      */
    --hs-xl:  clamp(24px, 2.8vw, 46px);   /* Project title, section heads */
    --hs-lg:  clamp(16px, 1.4vw, 22px);   /* About row title, wi_title    */
    --hs-md:  clamp(13px, 1.1vw, 17px);   /* Body, credits value          */
    --hs-sm:  clamp(11px, 0.9vw, 14px);   /* Captions, wi_cat, nav        */
    --hs-xs:  clamp(9px,  0.65vw, 11px);  /* Mono labels, meta only       */

    /* Line heights per level */
    --hs-lh-2xl: 1.0;
    --hs-lh-xl:  1.08;
    --hs-lh-lg:  1.2;
    --hs-lh-md:  1.55;
    --hs-lh-sm:  1.5;
    --hs-lh-xs:  1.4;
}

/* ── Global section dividers — horizontal line as identity ── */
/* Any element with class .hs-rule gets a top identity line */
.hs-rule {
    border-top: 1px solid var(--hs-rule-dark);
}
.hs-rule-light {
    border-top: 1px solid var(--hs-rule-light);
}

/* Work index section dividers */
.wi_filters {
    border-top: 1px solid var(--hs-rule-light);
    border-bottom: 1px solid var(--hs-rule-light);
}

/* Project header — line under title */
.project_header {
    border-bottom: 1px solid var(--hs-rule-dark);
    padding-bottom: 2vw;
    margin-bottom: 2.5vw;
}

/* Related projects — line above — handled by .related_projects in project section */
/* (border-top defined in earlier rule at line ~866) */

.related_projects_title {
    border-bottom: 1px solid var(--hs-rule-dark);
    padding-bottom: 2vw;
    margin-bottom: 0;
}

/* fp_tax_filters — already has border-top, harmonize opacity */
.fp_tax_filters {
    border-top: 1px solid var(--hs-rule-dark);
}

/* Pages with the editorial (white) treatment.
   Applied via body.tpl_home (work index). About handled in its own block. */
body.tpl_home {
    background: var(--ed-bg);
    color: var(--ed-fg);
}
body.tpl_home,
body.tpl_home #page,
body.tpl_home #content,
body.tpl_home .site_container {
    background: var(--ed-bg);
}

.primary_work_index {
    background: var(--ed-bg);
    color: var(--ed-fg);
}

.work_index_wrap {
    padding: 1.5vw var(--ed-pad-x) 8vw;
    color: var(--ed-fg);
    position: relative;
}

/* Hide the original chunky filter UI when this template is active */
.primary_work_index .filters_container { display: none !important; }

/* ── Inline filters ───────────────────────────────────────── */
.wi_filters {
    margin: 0 0 3vw;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 2.5vw;
    font-size: var(--hs-sm);
    line-height: 1;
    color: var(--ed-fg);
    padding: 1.2vw 0;
}

.wi_filter {
    cursor: pointer;
    color: var(--ed-fg-muted);
    transition: color .2s ease;
    user-select: none;
    text-transform: none;
    letter-spacing: 0;
    font-family: inherit;
    position: relative;
    padding: 0;
}

.wi_filter:hover { color: var(--ed-fg); }

/* Active: same underline style as nav links */
.wi_filter.is-active {
    color: var(--ed-fg);
}

.wi_filter.is-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--ed-fg);
}

/* ── Index — two-column macro layout ──────────────────────── */
.work_index {
    display: grid;
    grid-template-columns: 30vw 1fr;
    column-gap: 2.5vw;
    align-items: start;
    position: relative;
}

/* Anchored hover image (sticky, top-left). padding-bottom hack
   instead of aspect-ratio for Chrome stability. align-self:start
   needed because Chrome stretches grid items by default which
   would break position:sticky. */
.wi_hover_image {
    position: sticky;
    top: var(--ed-pad-top);
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    background-size: cover;
    background-position: center;
    background-color: #ececec;
    background-repeat: no-repeat;
    transition: background-image .15s ease;
    grid-column: 1;
    align-self: start;
}

.work_index_list {
    list-style: none;
    padding: 0;
    margin: 0;
    grid-column: 2;
}

.wi_row { position: relative; }
.wi_row.is-hidden { display: none; }

.wi_row_link {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    column-gap: 3vw;
    align-items: baseline;
    padding: 0.95vw 0;
    border-bottom: 1px solid var(--ed-rule);
    text-decoration: none;
    color: var(--ed-fg);
    transition: opacity .2s ease;
}

.wi_col {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wi_title {
    font-size: 1.25vw;
    line-height: 1.25;
    letter-spacing: 0;
    font-weight: 400;
    text-transform: none;
    font-variant: normal;
}

.wi_cat {
    font-family: inherit;
    font-size: var(--hs-sm);
    line-height: 1.25;
    letter-spacing: 0;
    font-weight: 400;
    text-transform: none;
    font-variant: normal;
    color: var(--ed-fg-muted);
    text-align: left;
}

/* Hover dim */
.work_index_list:hover .wi_row .wi_row_link { opacity: 0.38; }
.work_index_list:hover .wi_row:hover .wi_row_link { opacity: 1; }

@media (max-width: 900px) {
    .work_index { grid-template-columns: 1fr; }
    .wi_hover_image { display: none; }
    .work_index_list { grid-column: 1; }
    .wi_filters { gap: 0 4vw; }
    .wi_row_link {
        grid-template-columns: 1fr;
        row-gap: 0.6vw;
        padding: 3.5vw 0;
    }
    /* wi_title — handled by clamp */
    /* wi_cat — handled by clamp */
}

/* ══════════════════════════════════════════════════════════════
   POINTER BUBBLE
   Small label that follows the cursor over interactive cards.
   Hidden by default; shown when body has .cursor-bubble-on
══════════════════════════════════════════════════════════════ */

#cursor_bubble {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    will-change: transform;
    mix-blend-mode: difference;

    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    /* Reinforcement shadow — keeps silhouette visible on mid-grey/images */
    box-shadow: 0 0 0 1px rgba(255,255,255,0.5);

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

    font-family: var(--hs-font-mono, 'Courier New', monospace);
    font-size: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.25;
    color: #fff;
    white-space: normal;
    padding: 0 10px;

    opacity: 0;
    visibility: hidden;
    transform: translate3d(-9999px, -9999px, 0) translate(-50%, -50%);

    transition:
        opacity .15s ease,
        visibility 0s linear .15s,
        width .5s cubic-bezier(.23, 1.5, .4, 1),
        height .5s cubic-bezier(.23, 1.5, .4, 1),
        color .15s ease,
        box-shadow .3s ease;
}

/* Idle — small perfect circle, no padding */
#cursor_bubble.is-idle {
    opacity: 1;
    visibility: visible;
    width: 16px;
    height: 16px;
    background: #fff;
    color: transparent;
    padding: 0;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.5);
    transition:
        opacity .15s ease,
        visibility 0s linear 0s,
        width .5s cubic-bezier(.23, 1.5, .4, 1),
        height .5s cubic-bezier(.23, 1.5, .4, 1),
        color .15s ease,
        box-shadow .3s ease;
}

/* Hover card — large, text visible */
#cursor_bubble.is-on {
    width: 160px;
    height: 160px;
    background: #fff;
    color: #fff;
    padding: 0 10px;
    box-shadow: 0 0 0 1.5px rgba(255,255,255,0.6);
    opacity: 1;
    visibility: visible;
    transition:
        opacity .15s ease,
        visibility 0s linear 0s,
        width .5s cubic-bezier(.23, 1.5, .4, 1),
        height .5s cubic-bezier(.23, 1.5, .4, 1),
        color .2s ease .2s,
        box-shadow .3s ease;
}

/* Hover link/nav — medium */
#cursor_bubble.is-link {
    width: 44px;
    height: 44px;
    background: #fff;
    color: transparent;
    padding: 0;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.4);
    opacity: 1;
    visibility: visible;
    transition:
        opacity .15s ease,
        visibility 0s linear 0s,
        width .4s cubic-bezier(.23, 1.5, .4, 1),
        height .4s cubic-bezier(.23, 1.5, .4, 1),
        color .15s ease,
        box-shadow .3s ease;
}

/* Hover button */
#cursor_bubble.is-btn {
    width: 64px;
    height: 64px;
    background: #fff;
    color: transparent;
    padding: 0;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.4);
    opacity: 1;
    visibility: visible;
    transition:
        opacity .15s ease,
        visibility 0s linear 0s,
        width .4s cubic-bezier(.23, 1.5, .4, 1),
        height .4s cubic-bezier(.23, 1.5, .4, 1),
        color .15s ease,
        box-shadow .3s ease;
}

@media (hover: none), (pointer: coarse) {
    #cursor_bubble { display: none !important; }
}

/* ══════════════════════════════════════════════════════════════
   ABOUT — editorial layout (uniform with /work)
   Uses the same --ed-* tokens, fonts and rules.
══════════════════════════════════════════════════════════════ */

body.tpl_about,
body.tpl_about #page,
body.tpl_about #content,
body.tpl_about .site_container {
    background: var(--ed-bg);
}
body.tpl_about { color: var(--ed-fg); }

/* ── About dark override: align with home black background ── */
body.tpl_about,
body.tpl_about #page,
body.tpl_about #content,
body.tpl_about .site_container,
.primary_about_v2 {
    background: #000 !important;
    color: #fff !important;
}

/* Override ed tokens for dark context */
.primary_about_v2 {
    --ed-fg: #fff;
    --ed-fg-muted: rgba(255,255,255,0.45);
    --ed-rule: rgba(255,255,255,0.1);
}

/* Manifesto as large editorial statement */
.about_manifesto p {
    font-size: var(--hs-2xl);
    line-height: var(--hs-lh-2xl);
    letter-spacing: -0.02em;
    margin: 0 0 0.35em;
    font-weight: 400;
    text-transform: none;
    color: #fff;
}

/* Row numbers muted */
.about_row_num {
    color: rgba(255,255,255,0.2);
}

/* Row titles use their color attr but fallback to white */
.about_row_title {
    color: #fff !important;
    font-size: var(--hs-lg);
}

/* Row text muted on dark */
.about_row_text,
.about_row_text p {
    color: rgba(255,255,255,0.45);
}

.primary_about_v2 {
    background: var(--ed-bg);
    color: var(--ed-fg);
}

.about_v2 {
    padding: 1.5vw var(--ed-pad-x) 8vw;
    max-width: 100%;
}

.about_manifesto {
    max-width: 56vw;
    margin: 0 0 6vw;
}

.about_manifesto p {
    font-size: var(--hs-2xl);
    line-height: var(--hs-lh-2xl);
    letter-spacing: -0.02em;
    margin: 0 0 0.4em;
    font-weight: 400;
    text-transform: none;
    font-variant: normal;
    color: var(--ed-fg);
}

.about_manifesto p:last-child { margin-bottom: 0; }

.about_feature_image {
    width: 100%;
    margin: 0 0 6vw;
    line-height: 0;
}
.about_feature_image img {
    width: 100%;
    height: auto;
    display: block;
}

.about_index {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--ed-rule);
}

.about_row {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1.4fr) minmax(0, 2fr);
    column-gap: 2.5vw;
    padding: 1.4vw 0;
    border-bottom: 1px solid var(--ed-rule);
    align-items: baseline;
    float: none;
}

.about_row_num {
    font-size: var(--hs-sm);
    color: var(--ed-fg-muted);
    align-self: start;
    padding-top: 0.4vw;
    letter-spacing: 0;
    text-transform: none;
    font-variant: normal;
    font-family: inherit;
}

.about_row_title {
    width: auto !important;
    float: none !important;
    font-size: var(--hs-lg);
    line-height: var(--hs-lh-lg);
    letter-spacing: 0;
    padding: 0;
    color: var(--ed-fg) !important;
    text-transform: none;
    font-variant: normal;
    font-weight: 400;
}

.about_row_title p { margin: 0; }

.about_row_text {
    width: auto !important;
    padding: 0;
    font-size: var(--hs-md);
    line-height: var(--hs-lh-md);
    max-width: none;
    color: var(--ed-fg-muted);
}
.about_row_text p { margin: 0 0 0.6em; color: var(--ed-fg-muted); }
.about_row_text p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
    .about_v2 { padding: 18vw 5vw 12vw; }
    .about_manifesto { max-width: 100%; margin-bottom: 12vw; }
    .about_feature_image { margin-bottom: 12vw; }

    /* Collapse to full single-column stack */
    .about_row {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 6vw 0;
        grid-template-columns: unset;
        grid-template-rows: unset;
        column-gap: unset;
        align-items: flex-start;
    }

    /* Number — small mono label on top */
    .about_row_num {
        grid-row: unset;
        grid-column: unset;
        /* clamp handles xs */
        color: var(--ed-fg-muted);
        padding-top: 0;
        margin-bottom: 2vw;
        opacity: 0.5;
    }

    /* Title — full width, no truncation */
    .about_row_title {
        grid-row: unset;
        grid-column: unset;
        /* font-size handled by clamp */
        line-height: 1.15;
        width: 100% !important;
        white-space: normal !important;
        overflow: visible !important;
        word-break: break-word;
        margin-bottom: 3vw;
    }

    /* Description text — full width below title */
    .about_row_text {
        grid-row: unset;
        grid-column: unset;
        /* font-size handled by clamp */
        line-height: 1.6;
        max-width: 100% !important;
        width: 100% !important;
        white-space: normal !important;
        overflow: visible !important;
        word-break: break-word;
    }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE — Force single-column across the whole site
   Applied last so it overrides any previous flex/grid layout.
══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {

    /* Front page parallax gallery → stack */
    #fp_gallery {
        display: flex;
        flex-direction: column;
        gap: 3vw;
        padding: 0 4vw;
    }
    .fp_col,
    .fp_col_wide {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;  /* disable parallax stagger */
        gap: 3vw;
    }
    .fp_thumb::before { padding-bottom: 120%; }
    .fp_thumb_wide::before { padding-bottom: 110%; }

    /* Work index → stack, no anchored image */
    .work_index {
        display: block;
    }
    .wi_hover_image { display: none; }
    .work_index_list { width: 100%; }

    /* Work index rows — bigger tap targets, cleaner spacing */
    .wi_row {
        padding: 5vw 0 !important;
        border-bottom: 1px solid var(--hs-rule-light) !important;
    }
    .wi_row_link {
        font-size: 6vw !important;
        line-height: 1.2 !important;
        opacity: 1 !important;
    }
    .wi_row_sub {
        /* clamp handles xs */
        margin-top: 1.5vw !important;
        opacity: 0.5;
    }
    /* Disable hover-dim on mobile — all rows visible */
    .work_index_list:hover .wi_row .wi_row_link { opacity: 1 !important; }

    .wi_filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding: 0;
        gap: 0;
        /* clamp handles xs */
        margin-bottom: 5vw;
        border-top: 1px solid var(--hs-rule-light);
        border-bottom: 1px solid var(--hs-rule-light);
    }
    .wi_filter {
        padding: 3.5vw 4vw !important;
        letter-spacing: 0.1em;
        flex-shrink: 0;
        font-size: 2.8vw !important;
        border-right: 1px solid var(--hs-rule-light);
    }
    .wi_filter:last-child { border-right: none; }
    .wi_filter.is-active::after {
        left: 4vw;
        right: 4vw;
    }

    /* About → handled in dedicated media block above */

    /* About — bigger text for mobile readability */
    .about_manifesto p {
        font-size: 7vw !important;
        line-height: 1.2 !important;
    }

    /* Generic grid items used elsewhere */
    .main_grid {
        display: block !important;
    }
    .main_grid .grid_item {
        width: 100% !important;
        float: none !important;
        margin: 0 0 6vw !important;
    }

    /* Related projects — mobile */
    .related_projects_header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 3vw;
        padding: 5vw 0 4vw;
    }
    .related_projects_label {
        /* clamp handles md */
        flex-shrink: 0;
    }
    .related_projects_thumbs {
        gap: 2vw;
    }
    .related_projects_thumb_item {
        width: 16vw;
    }
    .related_projects_thumb_item img {
        height: 11vw;
    }

    /* Cursor — hide on mobile (no hover) */
    #cursor_bubble { display: none !important; }
    body { cursor: auto !important; }
}

/* ══════════════════════════════════════════════════════════════
   FRONT PAGE — Editorial taxonomy filters
   Links to /work?service=slug and /work?industry=slug
   Placed between hero slideshow and parallax gallery.
══════════════════════════════════════════════════════════════ */

.fp_tax_filters {
    padding: 0.6vw 1.67vw 1vw;
    /* border-top handled by identity system var --hs-rule-dark */
}

.fp_filters_nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.fp_filter_link {
    font-size: var(--hs-sm);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    padding: 0.7vw 1.4vw;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    display: inline-block;
}

.fp_filter_link:hover,
.fp_filter_link.is-active {
    color: rgba(255,255,255,0.9);
    border-bottom-color: rgba(255,255,255,0.4);
}

@media (max-width: 900px) {
    .fp_tax_filters { padding: 6vw 5vw 3vw; }
    .fp_filter_link { font-size: 3.2vw; padding: 2vw 3vw; }
}

/* ══════════════════════════════════════════════════════════════
   PARALLAX SPEED CONFIG COMMENT
   Edit FP_SPEEDS in js/common.js line ~914 to adjust.
   FP_SPEEDS = [col0, col1, col2, col3]
   0 = no parallax, 0.5 = very fast
   Current: [0, 0.14, 0.28, 0.42]
══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════
   MOBILE — Single project credits footer
══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .project_intro_text {
        max-width: 100%;
        padding: 3vw 0;
    }

    .project_credits_footer {
        margin-top: 8vw;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 8vw 0 10vw;
        text-align: center;
    }

    .project_credits_footer::before,
    .project_credits_footer::after {
        display: none !important;
    }

    .pcf_inner {
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0 8vw;
    }

    .pcf_inner::before {
        /* clamp handles xs */
        margin-bottom: 5vw;
    }

    .project_credits_footer .project_credit_item {
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        padding: 3.5vw 0 !important;
        margin-bottom: 0;
        max-width: 100%;
        width: 100%;
        gap: 1.5vw;
    }

    .project_credits_footer .project_credit_item:last-child {
        border-bottom: none;
    }

    .project_credits_footer .project_credit_title:first-child {
        /* clamp handles xs */
        margin-bottom: 0;
    }

    .project_credits_footer .project_credit_title:last-child,
    .project_credits_footer .project_credit_title + .project_credit_title {
        /* clamp handles md */
    }

    /* Tags below thumb — hidden */
    .fp_thumb_tag_below {
        display: none !important;
    }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE — Footer
══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    #colophon .footer_wrapper {
        height: auto;
        min-height: 48px;
        padding: 4vw 0;
        flex-wrap: wrap;
        gap: 2vw;
    }
    #colophon .footer_wrapper .footer_menu ul {
        flex-direction: column;
        gap: 2vw;
        align-items: flex-start;
    }
    #colophon .footer_wrapper .footer_menu ul li {
        font-size: 3.2vw;
    }
    #colophon .footer_wrapper .footer_menu ul li:last-child {
        text-align: left;
    }

    /* Frontpage thumb — let image height flow naturally on mobile */
    .fp_thumb::before,
    .fp_thumb_wide::before {
        display: none !important;
    }
    .fp_thumb .fp_thumb_real_img {
        display: block !important;
    }
}

/* ══════════════════════════════════════════════════════════════
   IDENTITY LINE — fp_gallery_wrap top separator
   Thin ruled line between nav and gallery start.
══════════════════════════════════════════════════════════════ */
#fp_gallery_wrap {
    border-top: 1px solid var(--hs-rule-dark);
}


/* ══════════════════════════════════════════════════════════════
   CAMBIO 2 — Social links IG / LK in nav
   Mono uppercase, coherent with the rest of the nav
══════════════════════════════════════════════════════════════ */
.main_menu ul li.item--social a.nav-social-link {
    font-family: var(--hs-font-mono, 'Courier New', monospace);
    font-size: clamp(10px, 0.85vw, 13px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.55;
}
.main_menu ul li.item--social a.nav-social-link:hover {
    opacity: 1;
}

/* ══════════════════════════════════════════════════════════════
   CAMBIO 4 — Unified color: deep anthracite #111
   Replaces the hard black/white inconsistencies with a single
   dark tone throughout non-hero UI surfaces.
══════════════════════════════════════════════════════════════ */
body {
    background: #111111;
}

#masthead {
    background: #111111;
}

/* Frontpage hero stays pure black */
.fp_hero,
.home #masthead {
    background: transparent;
}

.filters_container .filters_container_selector,
.filters_container .filter_options .filter_labels_container,
.filters_container .filter_options .filter_labels_container .categories_filters_option {
    background: #111111;
}

/* About + Work pages: pure white remains correct (editorial white) */
body.tpl_home,
body.tpl_home #page,
body.tpl_home #content,
body.tpl_home .site_container,
.primary_work_index {
    background: var(--ed-bg); /* white — editorial, unchanged */
}

/* ── About dark: align to #111 ── */
body.tpl_about,
body.tpl_about #page,
body.tpl_about #content,
body.tpl_about .site_container,
.primary_about_v2 {
    background: #111111 !important;
}

/* Project pages */
body:not(.tpl_home):not(.tpl_about) .site_container {
    background: #111111;
}

/* footer */
#colophon {
    background: #111111;
}

/* ══════════════════════════════════════════════════════════════
   ABOUT — Work section merged styling
   Editorial separator + hover image wiring
══════════════════════════════════════════════════════════════ */
.about_work_section {
    margin-top: 7vw;
    border-top: 1px solid var(--ed-rule);
    padding-top: 0;
}

.about_work_header {
    display: flex;
    align-items: baseline;
    padding: 1.2vw 0;
    border-bottom: 1px solid var(--ed-rule);
    margin-bottom: 0;
}

.about_work_label {
    font-family: var(--hs-font-mono, 'Courier New', monospace);
    font-size: var(--hs-xs);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ed-fg-muted);
}

/* Inside about, work_index inherits dark context */
.primary_about_v2 .work_index {
    --ed-fg: #fff;
    --ed-fg-muted: rgba(255,255,255,0.45);
    --ed-rule: rgba(255,255,255,0.1);
}

.primary_about_v2 .wi_hover_image {
    background-color: #222;
}

.primary_about_v2 .wi_row_link {
    color: #fff;
}

.primary_about_v2 .wi_title {
    color: #fff;
}

.primary_about_v2 .work_index_list {
    border-top: none;
}

.primary_about_v2 .wi_row_link {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.primary_about_v2 .work_index_list:hover .wi_row .wi_row_link {
    opacity: 0.38;
}
.primary_about_v2 .work_index_list:hover .wi_row:hover .wi_row_link {
    opacity: 1;
}

/* ══════════════════════════════════════════════════════════════
   FIX GRID — Balanced masonry columns on frontpage
   4 columns: [wide:2] [col:1] [col:1] [col:1]
   Images distributed evenly — no column starved
══════════════════════════════════════════════════════════════ */
#fp_gallery {
    display: flex;
    gap: 16px;
    padding: 0 16px;
    align-items: flex-start;
    overflow: visible;
    box-sizing: border-box;
    width: 100%;
}

.fp_col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    will-change: transform;
}

.fp_col_wide {
    flex: 2 1 0;
}

/* Ensure images never overflow their column */
.fp_thumb .fp_thumb_real_img {
    display: block !important;
    width: 100%;
    height: auto;
    vertical-align: bottom;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    position: relative;
    z-index: 1;
    /* Prevent super-tall images from dominating */
    max-height: 80vh;
    object-fit: cover;
    object-position: center;
}

/* Mobile: stack columns */
@media (max-width: 900px) {
    #fp_gallery {
        flex-direction: column;
        gap: 12px;
        padding: 0 12px;
    }
    .fp_col,
    .fp_col_wide {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
        gap: 12px;
    }
    .fp_thumb .fp_thumb_real_img {
        max-height: none;
    }
}

/* ══════════════════════════════════════════════════════════════
   CONTACT — White editorial background (legible, coherent with /work)
══════════════════════════════════════════════════════════════ */
body.tpl_contact,
body.tpl_contact #page,
body.tpl_contact #content,
body.tpl_contact .site_container {
    background: var(--ed-bg) !important;
    color: var(--ed-fg) !important;
}

.primary_contact_light {
    background: var(--ed-bg);
    color: var(--ed-fg);
    min-height: 80vh;
}

/* Masthead on contact: white bg, dark text/border */
body.tpl_contact #masthead {
    background: var(--ed-bg) !important;
    border-bottom-color: var(--ed-rule) !important;
}

body.tpl_contact #masthead .logo,
body.tpl_contact #masthead .main_menu ul li a {
    color: var(--ed-fg) !important;
}

body.tpl_contact #masthead .logo svg path {
    fill: var(--ed-fg) !important;
}

body.tpl_contact .underline:after {
    background: var(--ed-fg) !important;
}

/* Contact content */
.primary_contact_light .contact_container {
    padding-top: 8vw;
}

.primary_contact_light .contact_details_main_title,
.primary_contact_light .contact_details_column,
.primary_contact_light .contact_details_column p,
.primary_contact_light .contact_details_column a {
    color: var(--ed-fg) !important;
    opacity: 1 !important;
}

.primary_contact_light .contact_details_column p {
    opacity: 1 !important;
}

body.tpl_contact #colophon {
    background: var(--ed-bg) !important;
    border-top-color: var(--ed-rule) !important;
    color: var(--ed-fg) !important;
}

body.tpl_contact #colophon a {
    color: var(--ed-fg) !important;
}

/* ══════════════════════════════════════════════════════════════
   ABOUT — Work intro paragraph + bottom manifesto
══════════════════════════════════════════════════════════════ */
.about_intro_work {
    max-width: 52vw;
    margin: 0 0 4vw;
}

.about_intro_work p {
    font-size: var(--hs-2xl);
    line-height: var(--hs-lh-2xl);
    letter-spacing: -0.02em;
    margin: 0 0 0.35em;
    font-weight: 400;
    color: #fff;
}

.about_manifesto--bottom {
    margin-top: 7vw;
    margin-bottom: 5vw;
    max-width: 56vw;
    border-top: 1px solid var(--ed-rule);
    padding-top: 4vw;
}

@media (max-width: 900px) {
    .about_intro_work { max-width: 100%; margin-bottom: 8vw; }
    .about_intro_work p { font-size: 7vw !important; }
    .about_manifesto--bottom { max-width: 100%; margin-top: 10vw; padding-top: 8vw; }
    .primary_contact_light .contact_container { padding-top: 20vw; }
}

/* ══════════════════════════════════════════════════════════════
   PROJECT SINGLE — White background
   Coherent with /work editorial treatment.
══════════════════════════════════════════════════════════════ */
body.single-project,
body.single-project #page,
body.single-project #content,
body.single-project .site_container,
.primary_project_light {
    background: var(--ed-bg) !important;
    color: var(--ed-fg) !important;
}

body.single-project #masthead {
    background: var(--ed-bg) !important;
    border-bottom-color: var(--ed-rule) !important;
}

body.single-project #masthead .logo,
body.single-project #masthead .main_menu ul li a {
    color: var(--ed-fg) !important;
}

body.single-project #masthead .logo svg path {
    fill: var(--ed-fg) !important;
}

body.single-project .underline:after {
    background: var(--ed-fg) !important;
}

/* Project text colors on white */
body.single-project .project_title,
body.single-project .project_big_text,
body.single-project .project_main_text_item,
body.single-project .project_intro_text,
body.single-project .project_credit_title,
body.single-project .next_project_title,
body.single-project .next_project_label,
body.single-project .related_projects_title {
    color: var(--ed-fg) !important;
}

body.single-project .project_header {
    border-bottom-color: var(--ed-rule) !important;
}

body.single-project .next_project_block {
    border-top-color: var(--ed-rule) !important;
}

/* Credits footer on white */
body.single-project .project_credits_footer {
    background: #f2f2f2;
}

body.single-project .project_credits_footer .project_credit_title,
body.single-project .project_credits_footer .project_credit_title a {
    color: var(--ed-fg) !important;
}

body.single-project .project_credits_footer .project_credit_title:first-child {
    color: rgba(17,17,17,0.45) !important;
}

body.single-project .project_credits_footer .project_credit_item {
    border-bottom-color: rgba(17,17,17,0.08) !important;
}

body.single-project .pcf_inner::before {
    color: rgba(17,17,17,0.3) !important;
}

body.single-project #colophon {
    background: var(--ed-bg) !important;
    border-top-color: var(--ed-rule) !important;
    color: var(--ed-fg) !important;
}

body.single-project #colophon a {
    color: var(--ed-fg) !important;
}

/* ══════════════════════════════════════════════════════════════
   ABOUT — Intro typography: chapo + body
   Scale coherent with project single:
     chapo  → --hs-xl  (same as project_title)
     body   → --hs-md  (same as project body text)
══════════════════════════════════════════════════════════════ */
.about_intro_work {
    max-width: 64vw;
    margin: 0 0 5vw;
    border-bottom: 1px solid var(--ed-rule);
    padding-bottom: 4vw;
}

/* Chapo — big, editorial, like project title */
.about_intro_chapo p {
    font-size: var(--hs-xl);
    line-height: var(--hs-lh-xl);
    letter-spacing: -0.02em;
    font-weight: 400;
    color: #fff;
    margin: 0 0 0.5em;
}

.about_intro_chapo p:last-child { margin-bottom: 0; }

/* Body — readable, like project content */
.about_intro_body {
    margin-top: 2vw;
}

.about_intro_body p {
    font-size: var(--hs-md);
    line-height: var(--hs-lh-md);
    color: rgba(255,255,255,0.55);
    margin: 0 0 0.6em;
}

.about_intro_body p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
    .about_intro_work { max-width: 100%; padding-bottom: 8vw; margin-bottom: 8vw; }
    .about_intro_chapo p { font-size: clamp(22px, 6vw, 36px); }
    .about_intro_body { margin-top: 4vw; }
}

/* ══════════════════════════════════════════════════════════════
   UNIFORMIZACIÓN TIPOGRÁFICA
   Referencia: project single
     project_title   → --hs-xl   (título del proyecto, el más pequeño)
     project_big_text / section_color → --hs-2xl (chapo grande)
     body text       → --hs-md

   About intro:
     .about_intro_chapo  → --hs-2xl  (= "Exhibition Catalogs...")
     .about_intro_body   → --hs-md   (= cuerpo proyecto)

   Work list title (.wi_title) → --hs-xl (= project_title)
══════════════════════════════════════════════════════════════ */

/* project_title: align to --hs-xl exactly */
.project_title {
    font-size: var(--hs-xl) !important;
    line-height: var(--hs-lh-xl) !important;
    letter-spacing: -0.02em !important;
}

/* project_big_text / chapo: --hs-2xl */
.project_big_text,
.project_main_text_item.section_color {
    font-size: var(--hs-2xl) !important;
    line-height: var(--hs-lh-2xl) !important;
    letter-spacing: -0.02em !important;
}

/* body text in project */
.project_main_text_item:not(.section_color) {
    font-size: var(--hs-md) !important;
    line-height: var(--hs-lh-md) !important;
}

/* About chapo = project_big_text */
.about_intro_chapo p {
    font-size: var(--hs-2xl) !important;
    line-height: var(--hs-lh-2xl) !important;
    letter-spacing: -0.02em !important;
    font-weight: 400;
    color: #fff;
    margin: 0 0 0.4em;
}

/* About body = project body */
.about_intro_body p {
    font-size: var(--hs-md) !important;
    line-height: var(--hs-lh-md) !important;
    color: rgba(255,255,255,0.55);
    margin: 0 0 0.6em;
}

/* Work list title = project_title */
.wi_title {
    font-size: var(--hs-xl) !important;
    line-height: var(--hs-lh-xl) !important;
    letter-spacing: -0.02em !important;
}

/* ══════════════════════════════════════════════════════════════
   UNIFORMIZACIÓN FINAL — About + Project single
   Escala única de 4 niveles:
     --hs-2xl → chapo about         = project_big_text (Título 1)
     --hs-xl  → texto tras chapo    = project_title    (Título 2)
     --hs-lg  → wi_title en about   = project_credit_title / labels
     --hs-md  → cuerpo en todo
══════════════════════════════════════════════════════════════ */

/* Chapo = Título 1 del single */
.about_intro_chapo p {
    font-size: var(--hs-2xl) !important;
    line-height: var(--hs-lh-2xl) !important;
    letter-spacing: -0.02em !important;
    font-weight: 400;
    color: #fff;
    margin: 0 0 0.4em;
}

/* Texto siguiente = Título 2 del single */
.about_intro_body p {
    font-size: var(--hs-xl) !important;
    line-height: var(--hs-lh-xl) !important;
    letter-spacing: -0.02em !important;
    color: rgba(255,255,255,0.6);
    margin: 0 0 0.4em;
}

/* Títulos de proyecto en about = un escalón inferior */
.primary_about_v2 .wi_title,
.about_work_section .wi_title {
    font-size: var(--hs-lg) !important;
    line-height: var(--hs-lh-lg) !important;
    letter-spacing: 0 !important;
    font-weight: 400;
}

/* Quitar línea bajo el bloque intro, antes del listing */
.about_intro_work {
    border-bottom: none !important;
    padding-bottom: 3vw !important;
}

/* ── section_color fallback ─────────────────────────────────────────────────
   If the project has no color assigned, JS never injects .section_color{color}
   and the text inherits from the body — which can be white on white.
   This fallback ensures it's always readable. The JS-injected color overrides it. */
.section_color {
    color: inherit;
}
body.single-project .project_title {
    color: inherit;
}
/* project_big_text uses section_color indirectly via JS — same fallback */
body.single-project .project_big_text {
    color: inherit;
}

/* ── Contact page: social links ─────────────────────────────────────────────*/
.contact_social {
    margin-top: 4vw;
    padding-top: 2vw;
    border-top: 1px solid var(--hs-rule-dark, rgba(0,0,0,0.12));
    display: flex;
    gap: 2vw;
    flex-wrap: wrap;
}
.contact_social_link {
    font-size: var(--hs-xs, 0.75rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}
.contact_social_link:hover {
    opacity: 1;
}

/* ── Next project block: fallback when no color set ─────────────────────────*/
.next_project_block:not([style]) {
    background-color: #111;
}
.next_project_block:not([style]) .next_project_label,
.next_project_block:not([style]) .next_project_title {
    color: #fff;
}


/* ═══════════════════════════════════════════════════════════════════════════
   CUSTOM — Studio Palmo modifications
   Clean single block — no accumulation
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Nav: social icons SVG only, right-aligned with separator ── */
.main_menu ul li.item--social {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    line-height: 3.931034482758621vw;
}
.main_menu ul li.item--social:first-of-type {
    margin-left: 2.5vw;
    padding-left: 2.5vw;
    border-left: 1px solid rgba(255,255,255,0.12);
}
body.tpl_contact .main_menu ul li.item--social:first-of-type,
body.single-project .main_menu ul li.item--social:first-of-type {
    border-left-color: rgba(17,17,17,0.12);
}
.nav-social-icon {
    display: flex;
    align-items: center;
    opacity: 0.45;
    transition: opacity 0.2s ease;
    color: inherit;
    text-decoration: none !important;
}
.nav-social-icon::after { display: none !important; }
.nav-social-icon:hover { opacity: 1; }
.nav-social-icon svg { display: block; width: 16px; height: 16px; }

/* ── Footer: dark background on all pages ── */
html body #colophon {
    background-color: #111111 !important;
    color: rgba(255,255,255,0.6) !important;
    border-top-color: rgba(255,255,255,0.08) !important;
}
html body #colophon .footer_wrapper .footer_menu ul li a {
    color: rgba(255,255,255,0.5) !important;
}
html body #colophon .footer_wrapper .footer_menu ul li a:hover {
    color: rgba(255,255,255,1) !important;
}
html body #colophon::after { background: rgba(255,255,255,0.05) !important; }

/* Contact + single project: footer stays dark too (contact is now dark) */
html body.tpl_contact #colophon,
html body.single-project #colophon {
    background-color: #111111 !important;
    color: rgba(255,255,255,0.6) !important;
    border-top-color: rgba(255,255,255,0.08) !important;
}
html body.tpl_contact #colophon .footer_soc_icon,
html body.single-project #colophon .footer_soc_icon {
    color: rgba(255,255,255,0.45) !important;
}

/* Footer icons SVG */
.footer_soc_icons { display: flex; align-items: center; gap: 0.8rem; }
.footer_soc_icon {
    display: flex; align-items: center;
    opacity: 0.4; transition: opacity 0.2s; text-decoration: none; color: inherit;
}
.footer_soc_icon:hover { opacity: 1; }
.footer_soc_icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; display: block; }
#colophon .footer_wrapper .footer_menu ul li.footer_item_icons { margin-left: auto; padding: 0; display: flex; align-items: center; }

/* ── Contact: dark background (same as About) ── */
body.tpl_contact,
body.tpl_contact #page,
body.tpl_contact #content,
body.tpl_contact .site_container,
body.tpl_contact #primary,
.primary_contact_light {
    background: #111111 !important;
    color: #ffffff !important;
}
body.tpl_contact #masthead {
    background: #111111 !important;
    border-bottom-color: rgba(255,255,255,0.08) !important;
}
body.tpl_contact #masthead .logo,
body.tpl_contact #masthead .main_menu ul li a { color: #ffffff !important; }
body.tpl_contact #masthead .logo svg path { fill: #ffffff !important; }
body.tpl_contact .underline:after { background: rgba(255,255,255,0.5) !important; }

/* ── Contact: cct_* grid ── */
.cct_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 3vw;
    box-sizing: border-box;
}
.cct_block {
    padding: 2vw 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    box-sizing: border-box;
}
.cct_grid .cct_block:nth-child(odd) {
    padding-right: 3vw;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.cct_grid .cct_block:nth-child(even) { padding-left: 3vw; }
.cct_grid .cct_block:nth-last-child(-n+2) { border-bottom: none; }
.cct_label {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: clamp(9px, 0.65vw, 11px);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    margin-bottom: 0.6rem;
}
.cct_title {
    display: block;
    font-size: clamp(18px, 1.6vw, 26px);
    letter-spacing: -0.02em;
    color: #e8e6e0;
    margin-bottom: 0.5rem;
    font-style: italic;
    line-height: 1.2;
}
.cct_body {
    display: block;
    font-size: clamp(11px, 0.9vw, 14px);
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}
.cct_body p { margin: 0; }
.cct_body a { color: rgba(255,255,255,0.7); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
.cct_cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2vw;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-sizing: border-box;
}
.cct_email {
    font-size: clamp(20px, 2vw, 32px);
    letter-spacing: -0.02em;
    color: #e8e6e0;
    font-style: italic;
    text-decoration: none;
    transition: opacity 0.2s;
}
.cct_email:hover { opacity: 0.65; }
.cct_socials { display: flex; align-items: center; gap: 1.2rem; }
.cct_soc_link {
    display: flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s;
}
.cct_soc_link:hover { color: rgba(255,255,255,0.85); }
.cct_soc_link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; display: block; }
.cct_soc_link span { font-family: 'Courier New', monospace; font-size: clamp(9px, 0.65vw, 11px); letter-spacing: 0.14em; text-transform: uppercase; }
@media (max-width: 700px) {
    .cct_grid { grid-template-columns: 1fr; }
    .cct_grid .cct_block:nth-child(odd) { padding-right: 0; border-right: none; }
    .cct_grid .cct_block:nth-child(even) { padding-left: 0; }
    .cct_grid .cct_block:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.06); }
    .cct_grid .cct_block:last-child { border-bottom: none; }
    .cct_cta { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

/* ── Next project: compact bar ── */
.next_project_block {
    background: #161616;
    border-top: 1px solid rgba(255,255,255,0.07);
    margin-top: 0;
    overflow: hidden;
}
.next_project_link {
    display: block; text-decoration: none; color: inherit;
    transition: background 0.3s ease;
}
.next_project_link:hover { background: rgba(255,255,255,0.025); }
.next_project_bar_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.5vw 2vw;
}
.next_project_bar_left { display: flex; flex-direction: column; gap: 4px; }
.next_project_label {
    font-family: var(--hs-font-mono, 'Courier New', monospace);
    font-size: var(--hs-xs);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.28;
    color: #fff;
}
.next_project_title {
    font-size: var(--hs-xl) !important;
    line-height: var(--hs-lh-xl) !important;
    letter-spacing: -0.02em;
    color: #e8e6e0;
    font-style: italic;
    transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}
.next_project_link:hover .next_project_title { transform: translateX(6px); }
.next_project_bar_right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}
/* Thumb: fixed height, 4:3 ratio */
.next_project_thumb {
    width: auto;
    height: 72px;
    aspect-ratio: 4 / 3;
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    flex-shrink: 0;
    align-self: center;
}
.next_project_link:hover .next_project_thumb { opacity: 1; transform: translateX(0); }
.next_project_thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7); display: block; }

/* Typographic arrow */
.next_project_arrow { display: none !important; }
.next_project_bar_right::after {
    content: '→';
    font-size: clamp(20px, 1.8vw, 30px);
    color: rgba(255,255,255,0.45);
    transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94), color 0.2s;
    line-height: 1;
    flex-shrink: 0;
}
.next_project_link:hover .next_project_bar_right::after { transform: translateX(6px); color: rgba(255,255,255,0.9); }

/* Fallback dark bg */
.next_project_block:not([style]) { background-color: #161616; }
.next_project_block:not([style]) .next_project_label,
.next_project_block:not([style]) .next_project_title { color: #fff; }
body.single-project .next_project_block { background: #161616; }
body.single-project .next_project_title,
body.single-project .next_project_label { color: #fff; }

/* ── About: manifesto — remove top border ── */
.about_manifesto--bottom {
    border-top: none !important;
    padding-top: 0 !important;
}

/* ── About index: number inherits title color (set via JS) ── */
.about_row_num {
    transition: color 0.3s ease, opacity 0.3s ease;
}

/* ── Credits footer: horizontal with dividers ── */
.pcf_divider {
    width: 1px;
    align-self: stretch;
    background: rgba(255,255,255,0.1);
    margin: 0 0.5vw;
    flex-shrink: 0;
}
body.single-project .pcf_inner {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0 !important;
    justify-content: center;
}
body.single-project .project_credits_footer .project_credit_item {
    border-bottom: none !important;
    border-right: none !important;
    padding: 0 2.5vw !important;
    text-align: center;
}
body.single-project .project_credits_footer .project_credit_item:first-child { padding-left: 0 !important; }
body.single-project .project_credits_footer .project_credit_item:last-child { padding-right: 0 !important; }
@media (max-width: 700px) {
    body.single-project .pcf_inner { flex-direction: column !important; align-items: center !important; }
    .pcf_divider { display: none; }
    body.single-project .project_credits_footer .project_credit_item { padding: 1.5vw 0 !important; border-bottom: 1px solid rgba(255,255,255,0.08) !important; width: 100%; }
}

/* Project counter: hidden */
.project_counter { display: none; }
.project_counter_sep { display: none; }

/* ── Padding-top: unified ── */
.primary_contact_light .contact_container { padding-top: var(--ed-pad-top, 2.5vw) !important; }
.primary_about_v2 .about_v2,
.values_container.about_v2 { padding-top: var(--ed-pad-top, 2.5vw) !important; }

/* ── Press section ── */
.about_press {
    margin-top: 6vw;
}
.about_press_header {
    display: grid;
    grid-template-columns: 30vw 1fr;
    column-gap: 2.5vw;
    align-items: start;
}
/* Hover image: exactly like wi_hover_image */
.about_press_hover_image {
    position: sticky;
    top: var(--ed-pad-top, 2.5vw);
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    background-size: cover;
    background-position: center;
    background-color: transparent;
    background-repeat: no-repeat;
    transition: background-image 0.15s ease;
    align-self: start;
}
/* Only show placeholder bg when image is assigned */
.about_press_hover_image.has-image {
    background-color: #1a1a1a;
}
.about_press_list_wrap { width: 100%; }

/* Label: large title above the list */
.about_press_label {
    display: block;
    font-size: var(--hs-xl);
    line-height: var(--hs-lh-xl);
    letter-spacing: -0.02em;
    font-style: italic;
    color: #e8e6e0;
    padding: 0;
    border-top: none;
    border-bottom: none;
    margin-bottom: 2vw;
}
.about_press_label::after {
    content: none;
}
/* Row: same grid as wi_row_link — no arrow column */
.about_press_row {
    display: grid;
    grid-template-columns: minmax(0,1.5fr) minmax(0,1fr) 52px;
    column-gap: 2.5vw;
    align-items: baseline;
    padding: 0.95vw 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}
.about_press_row:last-child { border-bottom: none; }
.about_press_list:hover .about_press_row { opacity: 0.35; }
.about_press_list:hover .about_press_row:hover { opacity: 1; }

/* Pub: same size as wi_title in about */
.about_press_pub {
    font-size: var(--hs-lg);
    line-height: var(--hs-lh-lg);
    letter-spacing: -0.01em;
    font-style: italic;
    color: #e8e6e0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.about_press_desc {
    font-family: 'Courier New', monospace;
    font-size: var(--hs-sm);
    color: rgba(255,255,255,0.38);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.about_press_yr {
    font-family: 'Courier New', monospace;
    font-size: var(--hs-xs);
    color: rgba(255,255,255,0.22);
    text-align: right;
    letter-spacing: 0.06em;
    white-space: nowrap;
}
.about_press_lnk {
    display: none;
}

@media (max-width: 900px) {
    .about_press_header { grid-template-columns: 1fr; }
    .about_press_hover_image { display: none; }
    .about_press_pub { font-size: clamp(14px, 3vw, 18px); }
    .about_press_row { grid-template-columns: 1fr 44px 20px; }
    .about_press_desc { display: none; }
}

/* ── About: banners — 3 layout modes ── */
.about_banner_wrap {
    margin-top: 3vw;
    margin-bottom: 3vw;
}

/* Full width */
.about_banner_wrap--full .about_banner_inner {
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    position: relative;
}

/* 60% right: 20/10/10/10 grid → cols 2-4 */
.about_banner_wrap--right {
    display: grid;
    grid-template-columns: 20fr 10fr 10fr 10fr;
}
.about_banner_wrap--right .about_banner_inner {
    grid-column: 2 / 5;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    position: relative;
}

/* 60% left: 10/10/10/20 grid → cols 1-3 */
.about_banner_wrap--left {
    display: grid;
    grid-template-columns: 10fr 10fr 10fr 20fr;
}
.about_banner_wrap--left .about_banner_inner {
    grid-column: 1 / 4;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    position: relative;
}

/* Parallax wrap — oversized for travel */
.about_banner_img_wrap {
    position: absolute;
    inset: -12% 0;
    will-change: transform;
}

.about_banner_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .about_banner_wrap--right,
    .about_banner_wrap--left { grid-template-columns: 1fr; }
    .about_banner_wrap--right .about_banner_inner,
    .about_banner_wrap--left .about_banner_inner { grid-column: 1; }
    .about_banner_img_wrap { position: relative; inset: 0; }
}

/* ── About work list: mobile thumbnails ── */
.wi_mobile_thumb {
    display: none;
}

@media (max-width: 900px) {
    .wi_mobile_thumb {
        display: block;
        width: 100%;
        aspect-ratio: 4 / 3;
        background-size: cover;
        background-position: center;
        background-color: #ececec;
        border-radius: 2px;
        margin-top: 0.8rem;
        grid-column: 1 / -1;
        opacity: 0;
        transform: translateY(6px);
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    /* Show thumbnail on tap/hover (active state for touch) */
    .wi_row_link:hover .wi_mobile_thumb,
    .wi_row_link:focus .wi_mobile_thumb,
    .wi_row.is-active .wi_mobile_thumb {
        opacity: 1;
        transform: translateY(0);
    }

    /* Adjust grid to accommodate thumbnail row */
    .wi_row_link {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROJECT LAYOUT V2 — sticky sidebar
   ═══════════════════════════════════════════════════════════════════════════ */

.pv2 { background: var(--ed-bg, #f7f5f0); color: var(--ed-fg, #111); }

/* Grid */
.pv2_grid {
    display: grid;
    grid-template-columns: 26% 1fr;
    grid-template-rows: auto auto;
    column-gap: 3vw;
    padding: calc(var(--masthead-h, 3.5vw) + var(--ed-pad-top, 2.5vw)) var(--ed-pad-x, 3.5vw) 0;
}

/* Sidebar */
.pv2_sidebar {
    position: sticky;
    top: calc(var(--masthead-h, 3.5vw) + 2rem);
    align-self: start;
    padding-bottom: 4vw;
    grid-row: 1;
    grid-column: 1;
}

.pv2_eyebrow {
    font-family: var(--hs-font-mono, 'Courier New', monospace);
    font-size: var(--hs-xs);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.4;
    margin-bottom: 0.7rem;
}

.pv2_title {
    font-size: clamp(18px, 1.6vw, 26px);
    letter-spacing: -0.02em;
    line-height: 1.2;
    font-style: italic;
    margin-bottom: 1.8rem;
}

.pv2_rule {
    border: none;
    border-top: 1px solid var(--ed-rule, rgba(17,17,17,0.08));
    margin: 0.8rem 0;
}

.pv2_sb_item { margin-bottom: 0.8rem; }

.pv2_sb_label {
    font-family: var(--hs-font-mono, 'Courier New', monospace);
    font-size: var(--hs-xs);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.4;
    margin-bottom: 0.2rem;
}

.pv2_sb_value {
    font-size: var(--hs-sm);
    opacity: 0.75;
    line-height: 1.55;
}

.pv2_sb_value a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--ed-rule, rgba(17,17,17,0.1));
    transition: opacity 0.2s;
}
.pv2_sb_value a:hover { opacity: 1; }

.pv2_sb_intro {
    font-size: var(--hs-sm);
    line-height: 1.8;
    opacity: 0.6;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--ed-rule, rgba(17,17,17,0.06));
}

.pv2_sb_intro p { margin: 0 0 0.6em; }
.pv2_sb_intro p:last-child { margin: 0; }

/* Scroll column */
.pv2_scroll_col {
    grid-row: 1;
    grid-column: 2;
    padding-bottom: 0;
}

/* Image sets */
.pv2_img_set {
    margin-bottom: clamp(6px, 0.5vw, 10px);
}

.pv2_img_wrap {
    overflow: hidden;
    border-radius: 2px;
    background: #e8e4dc;
    position: relative;
}

.pv2_img_wrap img,
.pv2_img_wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pv2_img_wrap:hover img { transform: scale(1.04); }

.pv2_img_one .pv2_img_wrap  { aspect-ratio: 4/3; }
.pv2_img_wide .pv2_img_wrap { aspect-ratio: 4/3; }

.pv2_img_two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(4px, 0.4vw, 8px);
}
.pv2_img_two .pv2_img_wrap { aspect-ratio: 4/3; }

.pv2_img_three {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: clamp(4px, 0.4vw, 8px);
}
.pv2_img_three .pv2_img_wrap { aspect-ratio: 4/3; }

.pv2_img_four {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(4px, 0.4vw, 8px);
}
.pv2_img_four .pv2_img_wrap { aspect-ratio: 4/3; }

/* Closing image — spans both columns */
.pv2_closing_wrap {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: clamp(16px, 1.5vw, 32px) calc(-1 * var(--ed-pad-x, 3.5vw)) 0;
    overflow: hidden;
}

.pv2_closing_img_wrap {
    width: 100%;
    aspect-ratio: 16/6;
    overflow: hidden;
    position: relative;
}

.pv2_closing_img_wrap img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: -10%;
    will-change: transform;
}

/* Below grid */
.pv2_below {
    padding: 0 var(--ed-pad-x, 3.5vw) 6vw;
}

/* Credits row */
.pv2_credits_row {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid var(--ed-rule, rgba(17,17,17,0.1));
    padding: 2vw 0;
    margin-bottom: 3vw;
}

.pv2_cr_item {
    flex: 1;
    min-width: 100px;
    padding-right: 2vw;
}

.pv2_cr_item + .pv2_cr_item {
    border-left: 1px solid var(--ed-rule, rgba(17,17,17,0.06));
    padding-left: 2vw;
}

/* Related */
.pv2_related_label {
    font-family: var(--hs-font-mono, 'Courier New', monospace);
    font-size: var(--hs-xs);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.4;
    margin-bottom: 1.2vw;
    display: block;
}

.pv2_related_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 1.5vw, 24px);
    margin-bottom: 4vw;
}

.pv2_rel_item {
    text-decoration: none;
    color: inherit;
    display: block;
}

.pv2_rel_item:hover .pv2_rel_thumb img { transform: scale(1.04); }
.pv2_rel_item:hover .pv2_rel_title { opacity: 1; }

.pv2_rel_thumb {
    width: 100%;
    aspect-ratio: 4/3;
    background: #e8e4dc;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.6rem;
}

.pv2_rel_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pv2_rel_title {
    font-size: var(--hs-md);
    letter-spacing: -0.01em;
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 3px;
    transition: opacity 0.2s;
}

.pv2_rel_cat {
    font-family: var(--hs-font-mono, 'Courier New', monospace);
    font-size: var(--hs-xs);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.35;
}

/* Next bar */
.pv2_next_bar {
    border-top: 1px solid var(--ed-rule, rgba(17,17,17,0.1));
    padding: 1.8vw 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    transition: background 0.3s;
    margin: 0 calc(-1 * var(--ed-pad-x, 3.5vw));
    padding-left: var(--ed-pad-x, 3.5vw);
    padding-right: var(--ed-pad-x, 3.5vw);
}

.pv2_next_bar:hover { background: rgba(17,17,17,0.025); }
.pv2_next_bar:hover .pv2_next_title { transform: translateX(6px); }
.pv2_next_bar:hover .pv2_next_arrow { transform: translateX(5px); opacity: 0.9; }
.pv2_next_bar:hover .pv2_next_thumb { opacity: 1; transform: translateX(0); }

.pv2_next_left { display: flex; flex-direction: column; gap: 4px; }

.pv2_next_label {
    font-family: var(--hs-font-mono, 'Courier New', monospace);
    font-size: var(--hs-xs);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.35;
}

.pv2_next_title {
    font-size: var(--hs-xl);
    letter-spacing: -0.02em;
    font-style: italic;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pv2_next_right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pv2_next_thumb {
    width: 80px;
    height: 54px;
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.pv2_next_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.6);
}

.pv2_next_arrow {
    font-size: clamp(18px, 1.5vw, 26px);
    opacity: 0.35;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.2s;
}

/* Responsive */
@media (max-width: 900px) {
    .pv2_grid {
        grid-template-columns: 1fr;
        padding-top: 16vw;
    }
    .pv2_sidebar {
        position: relative;
        top: 0;
        grid-row: 1;
        grid-column: 1;
        border-bottom: 1px solid var(--ed-rule, rgba(17,17,17,0.08));
        padding-bottom: 2rem;
        margin-bottom: 1.5rem;
    }
    .pv2_scroll_col {
        grid-row: 2;
        grid-column: 1;
    }
    .pv2_closing_wrap {
        grid-row: 3;
        grid-column: 1;
        margin-left: calc(-1 * var(--ed-pad-x, 3.5vw));
        margin-right: calc(-1 * var(--ed-pad-x, 3.5vw));
    }
    .pv2_img_two,
    .pv2_img_three,
    .pv2_img_four { grid-template-columns: 1fr; }
    .pv2_related_grid { grid-template-columns: 1fr 1fr; }
    .pv2_credits_row { gap: 1rem; }
    .pv2_cr_item { flex: none; width: 45%; }
    .pv2_cr_item + .pv2_cr_item { border-left: none; padding-left: 0; }
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   PROJECT LAYOUT V2 — exact styles from approved mockup
   ═══════════════════════════════════════════════════════════════════════════ */

.primary_project_v2 {
  background: #f7f5f0;
  color: #111111;
}

/* Variables scoped to v2 */
.primary_project_v2 {
  --pad-x:     3.5vw;
  --pad-top:   2.8vw;
  --sidebar-w: 26%;
  --gap:       3vw;
  --rule:      rgba(17,17,17,0.1);
  --rule-soft: rgba(17,17,17,0.06);
  --muted:     rgba(17,17,17,0.45);
}

/* Grid */
.primary_project_v2 .project-grid {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  grid-template-rows: auto auto;
  column-gap: var(--gap);
  padding: calc(3.5vw + var(--pad-top)) var(--pad-x) 0;
}

/* Closing image: spans both columns */
.primary_project_v2 .closing-image-wrap {
  grid-column: 1 / -1;
  margin: clamp(20px, 2vw, 40px) calc(-1 * var(--pad-x)) 0;
  overflow: hidden;
}

.primary_project_v2 .closing-image-wrap .img-wrap {
  aspect-ratio: 16 / 6;
  border-radius: 0;
  width: 100%;
}

/* Sidebar */
.primary_project_v2 .sidebar {
  position: sticky;
  top: calc(3.5vw + 2rem);
  align-self: start;
  padding-bottom: 4vw;
  animation: pv2FadeUp 0.7s ease both;
  animation-delay: 0.1s;
}

.primary_project_v2 .proj-eyebrow {
  font-size: clamp(8px, 0.6vw, 10px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
  opacity: 0.6;
  font-family: 'Courier New', monospace;
}

.primary_project_v2 .proj-title {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #111;
  margin-bottom: 2rem;
}

.primary_project_v2 .sb-rule {
  border: none;
  border-top: 1px solid var(--rule-soft);
  margin: 0.9rem 0;
}

.primary_project_v2 .sb-label {
  font-size: clamp(8px, 0.6vw, 10px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
  opacity: 0.65;
  font-family: 'Courier New', monospace;
}

.primary_project_v2 .sb-value {
  font-size: clamp(11px, 0.85vw, 13px);
  color: #111;
  line-height: 1.55;
  opacity: 0.75;
  font-family: 'Courier New', monospace;
}

.primary_project_v2 .sb-value a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color .2s, opacity .2s;
}

.primary_project_v2 .sb-value a:hover {
  opacity: 1;
  border-color: #111;
}

.primary_project_v2 .sb-intro {
  font-size: clamp(11px, 0.85vw, 13px);
  line-height: 1.8;
  color: #111;
  opacity: 0.6;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule-soft);
  font-family: 'Courier New', monospace;
}

/* Scroll column */
.primary_project_v2 .scroll-col {
  padding-bottom: 0;
  animation: none;
}

.primary_project_v2 .scroll-col > * {
  opacity: 0;
  animation: pv2FadeUp 0.7s ease both;
}
.primary_project_v2 .scroll-col > *:nth-child(1) { animation-delay: 0.15s; }
.primary_project_v2 .scroll-col > *:nth-child(2) { animation-delay: 0.22s; }
.primary_project_v2 .scroll-col > *:nth-child(3) { animation-delay: 0.29s; }
.primary_project_v2 .scroll-col > *:nth-child(4) { animation-delay: 0.36s; }
.primary_project_v2 .scroll-col > *:nth-child(5) { animation-delay: 0.43s; }
.primary_project_v2 .scroll-col > *:nth-child(6) { animation-delay: 0.50s; }
.primary_project_v2 .scroll-col > *:nth-child(7) { animation-delay: 0.57s; }

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

/* Image sets */
.primary_project_v2 .img-set {
  margin-bottom: clamp(6px, 0.5vw, 10px);
}

.primary_project_v2 .img-wrap {
  overflow: hidden;
  border-radius: 2px;
  background: #e8e4dc;
  position: relative;
}

.primary_project_v2 .img-wrap img,
.primary_project_v2 .img-wrap video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

.primary_project_v2 .img-wrap:hover img { transform: scale(1.04); }

.primary_project_v2 .one-img .img-wrap  { aspect-ratio: 4/3; }
.primary_project_v2 .wide-img .img-wrap { aspect-ratio: 4/3; }

.primary_project_v2 .two-img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4px, 0.4vw, 8px);
}
.primary_project_v2 .two-img .img-wrap { aspect-ratio: 4/3; }

.primary_project_v2 .three-img {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(4px, 0.4vw, 8px);
}
.primary_project_v2 .three-img .img-wrap { aspect-ratio: 4/3; }

.primary_project_v2 .four-img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4px, 0.4vw, 8px);
}
.primary_project_v2 .four-img .img-wrap { aspect-ratio: 4/3; }

/* Below grid */
.primary_project_v2 .below-grid {
  padding: 0 var(--pad-x) 6vw;
}

/* Credits footer */
.primary_project_v2 .credits-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--rule);
  padding: 2vw 0;
  margin-bottom: 3vw;
}

.primary_project_v2 .credit-item {
  flex: 1;
  min-width: 120px;
  padding-right: 2vw;
}

.primary_project_v2 .credit-item + .credit-item {
  border-left: 1px solid var(--rule-soft);
  padding-left: 2vw;
}

/* Related */
.primary_project_v2 .related-label {
  font-size: clamp(8px, 0.6vw, 10px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2vw;
  display: block;
  opacity: 0.6;
  font-family: 'Courier New', monospace;
}

.primary_project_v2 .related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.5vw, 24px);
  margin-bottom: 4vw;
}

.primary_project_v2 .rel-item {
  text-decoration: none;
  color: inherit;
  display: block;
}

.primary_project_v2 .rel-item:hover .rel-thumb img { transform: scale(1.04); }
.primary_project_v2 .rel-item:hover .rel-title { opacity: 1; }

.primary_project_v2 .rel-thumb {
  width: 100%; aspect-ratio: 4/3;
  background: #e0dcd4;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.primary_project_v2 .rel-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

.primary_project_v2 .rel-title {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(13px, 1vw, 16px);
  letter-spacing: -0.01em;
  opacity: 0.8;
  margin-bottom: 3px;
  transition: opacity .2s;
}

.primary_project_v2 .rel-cat {
  font-size: clamp(8px, 0.6vw, 10px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.35;
  font-family: 'Courier New', monospace;
}

/* Next bar */
.primary_project_v2 .pv2-next {
  border-top: 1px solid var(--rule);
  padding: 1.8vw var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: background 0.3s;
  margin: 0 calc(-1 * var(--pad-x));
  background: transparent;
}

.primary_project_v2 .pv2-next:hover { background: rgba(17,17,17,0.025); }
.primary_project_v2 .pv2-next:hover .next-title { transform: translateX(6px); }
.primary_project_v2 .pv2-next:hover .next-arrow { transform: translateX(5px); opacity: 0.9; }
.primary_project_v2 .pv2-next:hover .next-thumb-wrap { opacity: 1; transform: scale(1) translateY(0); }

.primary_project_v2 .next-left { display: flex; flex-direction: column; gap: 4px; }

.primary_project_v2 .next-label {
  font-size: clamp(8px, 0.6vw, 10px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.35;
  font-family: 'Courier New', monospace;
}

.primary_project_v2 .next-title {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 28px);
  letter-spacing: -0.02em;
  transition: transform .35s cubic-bezier(0.25,0.46,0.45,0.94);
  color: #111;
}

.primary_project_v2 .next-right { display: flex; align-items: center; gap: 1rem; }

.primary_project_v2 .next-thumb-wrap {
  width: 80px; height: 54px;
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.94) translateY(4px);
  transition: opacity .3s ease, transform .3s ease;
  flex-shrink: 0;
}

.primary_project_v2 .next-thumb-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: saturate(0.6);
}

.primary_project_v2 .next-arrow {
  font-size: clamp(18px, 1.5vw, 24px);
  opacity: 0.4;
  transition: transform .35s cubic-bezier(0.25,0.46,0.45,0.94), opacity .2s;
}

/* Responsive */
@media (max-width: 800px) {
  .primary_project_v2 .project-grid { grid-template-columns: 1fr; padding-top: 14vw; }
  .primary_project_v2 .sidebar { position: relative; top: 0; padding-bottom: 2rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.5rem; }
  .primary_project_v2 .closing-image-wrap { margin-left: calc(-1 * var(--pad-x)); margin-right: calc(-1 * var(--pad-x)); }
  .primary_project_v2 .related-grid { grid-template-columns: 1fr 1fr; }
  .primary_project_v2 .two-img,
  .primary_project_v2 .three-img { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .primary_project_v2 .related-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════════════
   GLOBAL UNIFORMIZATION — ratios 4:3 + hover scale(1.04) + 0.6s cubic
   Applied sitewide at end of stylesheet to override any earlier values.
   ════════════════════════════════════════════════════════════════════════ */

/* ── Frontpage thumbs ── */
.fp_thumb_bg,
.fp_thumb .fp_thumb_real_img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.fp_thumb:hover .fp_thumb_bg,
.fp_thumb:hover .fp_thumb_real_img {
    transform: scale(1.04) !important;
}

/* ── Work index hover image: stays 4:3 (75% padding-bottom) ── */
/* Already 75% = 4:3 — no change needed */

/* ── V1 project: next project image ── */
.next_project_image img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.next_project_link:hover .next_project_image img {
    transform: scale(1.04) !important;
}

/* ── V1 project (old pv2 classes): image hover ── */
.pv2_img_wrap img,
.pv2_img_wrap video {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.pv2_img_wrap:hover img,
.pv2_img_wrap:hover video {
    transform: scale(1.04) !important;
}

/* ── V1 project: all image ratios → 4:3 ── */
.pv2_img_one .pv2_img_wrap,
.pv2_img_wide .pv2_img_wrap,
.pv2_img_two .pv2_img_wrap,
.pv2_img_three .pv2_img_wrap,
.pv2_img_four .pv2_img_wrap {
    aspect-ratio: 4/3 !important;
}

/* ── primary_project_v2 legacy classes: all ratios → 4:3 ── */
.primary_project_v2 .one-img .img-wrap,
.primary_project_v2 .wide-img .img-wrap,
.primary_project_v2 .two-img .img-wrap,
.primary_project_v2 .three-img .img-wrap,
.primary_project_v2 .four-img .img-wrap {
    aspect-ratio: 4/3 !important;
}
.primary_project_v2 .img-wrap img,
.primary_project_v2 .img-wrap video {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.primary_project_v2 .img-wrap:hover img,
.primary_project_v2 .img-wrap:hover video {
    transform: scale(1.04) !important;
}

/* ── Related thumbnails (all templates) ── */
.pv2_rel_thumb img,
.primary_project_v2 .rel-thumb img,
.pv2-rel-thumb img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.pv2_rel_item:hover .pv2_rel_thumb img,
.primary_project_v2 .rel-item:hover .rel-thumb img,
.pv2-rel:hover .pv2-rel-thumb img {
    transform: scale(1.04) !important;
}

/* ── About page: work index in dark context ── */
.primary_about_v2 .wi_hover_image {
    /* 75% padding-bottom = 4:3 — already correct */
}

