@charset "UTF-8";

@import url("https://use.typekit.net/vpp1qlu.css");

@-ms-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
    zoom: 1.0;
}

* {
    box-sizing: border-box;
}

ul.a:hover {
    color: #2fafa5;
}

body {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.work {
    height: 100%;
}

h1 {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
}

h1.Title {
    color: darkslategray;
    text-decoration: none;
    font-size: 1.8em;
}

h1.Titleinvert {
    color: whitesmoke;
    text-decoration: none;
    font-size: 1.8em;
}

h1.Titleinvert a {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 1.0em;
}

h1.Titleinvert a:hover {
    text-decoration: none;
    color: #2fafa5;
}
    
h2 {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
}

h2.Subtitle {
    color: #2f4f4f;
    text-decoration: none;
    font-size: 1.5em;
}

h2.Subtitleinvert {
    color: whitesmoke;
    text-decoration: none;
    font-size: 1.5em;
}

h2.Subtitle a{
    color: darkslategray;
    text-decoration: none;
    font-size: 0.8em;
}

h2.Subtitleinvert a{
    color: whitesmoke;
    text-decoration: none;
    font-size: 0.8em;
}

h2.Subtitle a:hover {
    text-decoration: none;
    color: #2fafa5;
}

h2.Subtitleinvert a:hover {
    text-decoration: none;
    color: #2fafa5;
}

h2.Astriction a {
    color: darkslategray;
    text-decoration: none;
    font-size: 0.8em;
}

h2.Astriction a:hover {
    text-decoration: none;
    color: #2fafa5;
}

nav {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.0em;
    position: absolute;
    margin-left: 35px;
    padding-right: 0px;
    top: 0;
    margin-top: 70px;
}

@media screen and (max-width: 480px) {
    nav {
        font-family: neue-haas-grotesk-text, sans-serif;
        font-weight: 400;
        font-size: 1.0em;
        position: relative;
        margin-left: 35px;
        padding-right: 0px;
        top: 0;
        margin-top: 0px;
    }
}

nav.frontpage {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.0em;
    position: absolute;
    margin-left: 35px;
    padding-right: 0px;
    top: 0;
    padding-top: 0px;
}

h1.frontpage a {
    color: darkslategray;
    text-decoration: none;
}

h1.Logo a {
    color: darkslategray;
    text-decoration: none;
    margin-left: 35px;
    padding-right: 0px;
}

h1.Logoinvert a {
    color: whitesmoke;
    text-decoration: none;
    margin-left: 35px;
    padding-right: 0px;
}

nav ul {
    list-style: none;
    padding-left: 0;
}

nav ul a {
    color: darkslategray;
    text-decoration: none;
}

nav ul.invert a {
    color: whitesmoke;
    text-decoration: none;
}

nav ul.frontpage a {
    color: darkslategray;
    text-decoration: none;
}

nav li {
    margin: 0.3em 0;
}

nav li.Current a {
    color: #2fafa5;
}

nav li a:hover {
    color: #2fafa5;
}

div.Main {
    padding-left: 150px;
    padding-top: 0px;
}

@media screen and (max-width: 480px) {
    div.Main {
        padding-top: 0px;
        padding-left: 35px;
    }
}

div.Projectlistinvert {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.3em;
}

section.Work {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.3em;
}

section.About {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.0em;
    margin-right: 30px;
    max-width: 950px;
}

section.About p {
    color: darkslategray;
}

section.About p a {
    text-decoration: none;
    color: darkslategrey;
}

section.About p a:hover {
    color: #2fafa5;
}

section.Aboutinvert {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.0em;
    margin-right: 30px;
    max-width: 950px;
}

section.Aboutinvert p {
    color: whitesmoke;
}

section.Aboutinvert p a {
    text-decoration: none;
    color: whitesmoke;
}

section.Aboutinvert p a:hover {
    color: #2fafa5;
}

section ul {
    list-style: none;
    padding-left: 0;
}

section ul.Worklist a {
    color: #2f4f4f;
    text-decoration: none;
}

section ul.Worklist a:hover {
    color: #2fafa5;
}

section ul.Worklist li {
    margin-bottom: 0px;
    overflow: auto;
}

section ul.Worklistinvert a {
    color: whitesmoke;
    text-decoration: none;
}

section ul.Worklistinvert a:hover {
    color: #2fafa5;
}

section ul.Worklistinvert li {
    margin-bottom: 0px;
    overflow: auto;
}

section li {
    list-style: none;
    margin: 0.3em 0;
    color: darkslategray;
    text-decoration: none;
}

section li a{
    list-style: none;
    margin: 0.3em 0;
    color: darkslategray;
    text-decoration: none;
}

section li a:hover {
    color: #2fafa5;
}

section li.invert {
    list-style: none;
    margin: 0.3em 0;
    color: #f5f5f5;
    text-decoration: none;
}

section li.invert a{
    list-style: none;
    margin: 0.3em 0;
    color: whitesmoke;
    text-decoration: none;
    border-bottom: 0.2px solid #f5f5f5;
    padding-bottom: 2px;
}

section li.invert a:hover {
    color: #2fafa5;
}

section li.invertproject {
    list-style: none;
    margin: 0.8em 0;
    color: whitesmoke;
    text-decoration: none;
}

section li.invertproject a:hover {
    color: #2fafa5;
}

section li.invertsubtitle {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.1em;
    list-style: none;
    margin: 0.3em 0;
    color: whitesmoke;
    text-decoration: none;
}

section li.inverttitle {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.2em;
    list-style: none;
    margin: 0.8em 0;
    color: whitesmoke;
    text-decoration: none;
}

section.project label {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.0em;
    color: #2fafa5;
}

section.project p{
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.0em;
    color: darkslategray;
}

section.project p a{
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.0em;
    color: darkslategray;
    text-decoration: none;
}

section.project p a:hover {
    color: #2fafa5;
}

section.work label {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.0em;
    color: whitesmoke;
}

section.workwhite label {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.0em;
    color: darkslategray;
}

label {
    cursor: pointer;
}

#showhide {
    display: none;
}

#paragraph {
    display: none;
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.0em;
    max-width: 87%;
    color: darkslategray;
}

#showhide:checked+#paragraph {
    display: block;
}

#showhide01 {
    display: none;
}

#paragraph01 {
    display: none;
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.0em;
    color: darkslategray;
    padding-left: 10px;
}

#paragraph01invert {
    display: none;
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.0em;
    color: whitesmoke;
    padding-left: 10px;
    text-decoration: none;
}

#showhide01:checked+#paragraph01 {
    display: block;
}

#showhide01:checked+#paragraph01invert {
    display: block;
}

#showhide02 {
    display: none;
}

#paragraph02 {
    display: none;
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.0em;
    color: darkslategray;
    padding-left: 10px;
}

#showhide02:checked+#paragraph02 {
    display: block;
}

#showhide03 {
    display: none;
}

#paragraph03 {
    display: none;
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.0em;
    color: darkslategray;
    padding-left: 10px;
}

#showhide03:checked+#paragraph03 {
    display: block;
}

#showhide04 {
    display: none;
}

#paragraph04 {
    display: none;
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.2em;
    color: #2f4f4f;
    padding-left: 10px;
    line-height:50px;
}

#showhide04:checked+#paragraph04 {
    display: block;
}

#showhide05 {
    display: none;
}

#paragraph05 {
    display: none;
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.2em;
    color: #2f4f4f;
    padding-left: 10px;
    line-height:50px;
}

#showhide05:checked+#paragraph05 {
    display: block;
}

#showhide06 {
    display: none;
}

#paragraph06 {
    display: none;
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.2em;
    color: #2f4f4f;
    padding-left: 10px;
    line-height:50px;
}

#showhide06:checked+#paragraph06 {
    display: block;
}

span.title {
    color: #2f4f4f;
}

span.titleinvert {
    color: whitesmoke;
}

span.subtitle {
    color: darkslategrey;
    font-weight: 400;
    font-size: 1.5em;
}

span.subtitleinvert {
    color: #f5f5f5;
    font-weight: 400;
    font-size: 1.5em;
}

span.frontpagetitle {
    color: #2f4f4f;
}

p.space {
    font-size: 0.5em;
}

section p.invertsubtitle {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.1em;
    list-style: none;
    margin: 0.3em 0;
    color: whitesmoke;
    text-decoration: none;
}

section p.invertsubtitle a{
    border-bottom: 0.2px solid #f5f5f5;
    padding-bottom: 2px;
}

li a {
    text-decoration: none;
    color: darkslategrey;
}

li.invert a {
    text-decoration: none;
    color: whitesmoke;
}

li.invert a:hover {
    color: #2fafa5;
}

@media screen and (min-width:1000px) {
    div.Images {
        padding-left: 150px;
        font-family: neue-haas-grotesk-text, sans-serif;
        font-weight: 400;
        font-size: 1.0em;
        margin-right: 50px;
        text-align: center;
        max-width: 887px;
    }
}

@media screen and (max-width:1000px) and (min-width: 480px) {
    div.Images {
        padding-left: 150px;
        font-family: neue-haas-grotesk-text, sans-serif;
        font-weight: 400;
        font-size: 1.0em;
        margin-right: 50px;
        text-align: center;
        max-width: 90%;
    }
}

@media screen and (max-width: 480px) {
    div.Images {
        padding-left: 35px;
        font-family: neue-haas-grotesk-text, sans-serif;
        font-weight: 400;
        font-size: 1.0em;
        margin-right: 50px;
        text-align: center;
        max-width: 90%;
        margin-left: 35px;
    }
}

div.Images img {
    max-width: 100%;
    height: auto;
    width: auto;
    margin-right: 50px;
    padding-top: 15px;
    padding-bottom: 2px;
}


div.Images a {
    text-decoration: none;
    color: darkslategrey;
}

div.Images a:hover {
    color: #2fafa5;
}

body.frontpage {
    background-color: whitesmoke;
    width: 100%;
    margin: 0;
    padding: 0;
}

#slideshow {
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
    padding-left: 35px;
}

.cb-slideshow,
.cb-slideshow:after {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0;
    margin: 0;
}

.cb-slideshow:after {
    content: '';
    background: transparent repeat top left;
}

.cb-slideshow li span {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 25% 15%;
    background-repeat: none;
    opacity: 0;
    z-index: 0;
    animation: imageAnimation 36s linear infinite 0s;
    list-style: none;
}

.cb-slideshow li div {
    z-index: 1000;
    position: absolute;
    bottom: 5%;
    left: -8px;
    width: 100%;
    text-align: center;
    opacity: 0;
    color: #fff;
    animation: titleAnimation 36s linear infinite 0s;
}

.cb-slideshow li div h3 {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 2.8em;
    padding: 0;
    line-height: 1.2em;
}

@media screen and (max-width: 480px) {
    .cb-slideshow li div h3 {
        font-family: neue-haas-grotesk-text, sans-serif;
        font-weight: 400;
        font-size: 1em;
        line-height: 1.2em;
        padding: 15px;
    }
}

h3 a {
    text-decoration: none;
    color: white;
}

h3 a:hover {
    color: #2fafa5;
}

.cb-slideshow li:nth-child(1) span {
    background-image: url("Images/M4.jpg")
}

.cb-slideshow li:nth-child(2) span {
    background-image: url(Images/AIOVHBR1.jpg);
    animation-delay: 6s;
}

.cb-slideshow li:nth-child(3) span {
    background-image: url(Images/C4.jpg);
    animation-delay: 12s;
}

.cb-slideshow li:nth-child(4) span {
    background-image: url(Images/A1L.jpg);
    animation-delay: 18s;
}

.cb-slideshow li:nth-child(5) span {
    background-image: url(Images/145n9.jpg);
    animation-delay: 24s;
}

.cb-slideshow li:nth-child(6) span {
    background-image: url(Images/SS1.jpg);
    animation-delay: 30s;
}

.cb-slideshow li:nth-child(2) div {
    animation-delay: 6s;
}

.cb-slideshow li:nth-child(3) div {
    animation-delay: 12s;
}

.cb-slideshow li:nth-child(4) div {
    animation-delay: 18s;
}

.cb-slideshow li:nth-child(5) div {
    animation-delay: 24s;
}

.cb-slideshow li:nth-child(6) div {
    animation-delay: 30s;
}

@keyframes imageAnimation {
    0% { opacity: 0; animation-timing-function: ease-in; }
    8% { opacity: 1; animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}

@keyframes titleAnimation {
    0% { opacity: 0; animation-timing-function: ease-in; }
    8% { opacity: 1; animation-timing-function: ease-out; }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}

.no-cssanimations .cb-slideshow li span {
    opacity: 1;
}

#myVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

video.Interview {
    max-width: 80%;
    height: auto;
    width: auto\9;
    margin-right: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.column {
    flex: 1;
    min-width: 300px;
}

.column img {
    padding-top: 8px;
    vertical-align: middle;
    width: 100%;
}

@media screen and (max-width: 680px) {
    .column {
        flex: 100%;
        max-width: 100%;
    }
}

@media screen and (min-width: 1000px) {
    div.Diary {
        padding-left: 150px;
    }
}

@media screen and (max-width: 1000px) and (min-width: 480px) {
    div.Diary {
        padding-left: 150px;
    }
}

@media screen and (max-width: 480px) {
    div.Diary {
        padding-left: 35px;
    }
}

.hvrbox,
.hvrbox * {
    box-sizing: border-box;
}

.hvrbox {
    position: relative;
    display: inline-block;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

.hvrbox img {
    max-width: 100%;
}

.hvrbox .hvrbox-layer_bottom {
    display: block;
    width: 100%;
    height: auto;
}

.hvrbox .hvrbox-layer_top {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 15px;
    transition: all 0.4s ease-in-out 0s;
}

.hvrbox:hover .hvrbox-layer_top,
.hvrbox.active .hvrbox-layer_top {
    opacity: 1;
}

.hvrbox .hvrbox-text {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.0em;
    text-align: center;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hvrbox .hvrbox-text a {
    text-decoration: none;
    color: white;
}

.hvrbox .hvrbox-text a:hover {
    color: #2fafa5;
}

.hvrbox .hvrbox-text_mobile {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.0em;
    border-top: 1px solid rgba(179, 179, 179, 0.7);
    margin-top: 15px;
    padding-top: 2px;
    display: none;
}

.hvrbox .hvrbox-text_mobile a {
    text-decoration: none;
    color: white;
}

.hvrbox .hvrbox-text_mobile a:hover {
    color: #2fafa5;
}

.hvrbox.active .hvrbox-text_mobile {
    display: block;
}

html, body {
    height: auto;
    overflow-y: auto;
}

body {
    margin: 0;
    font: 16px/1.3 sans-serif;
}

div.ImagesHZ, div.ImagesHZproj {
    display: flex;
    justify-content: center;
}

.ImagesHZproj img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    transition: opacity 1s ease-in-out;
}

div.Video p{
font-family: neue-haas-grotesk-text, sans-serif;
    color: darkslategrey;
    font-weight: 400;
    font-size: 0.8em;
}

div.ImagesVideo {
    display: flex;
    justify-content: Left;
}

div.ImagesFP {
    display: flex;
    justify-content: center;
}

p.imgnew {
    font-family: neue-haas-grotesk-text, sans-serif;
    color: darkslategrey;
    font-weight: 400;
    font-size: 0.8em;
    text-align: center;
}

p.imgabout {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 0.8em;
    text-align: left;
}

/* Image scaling media queries */
@media screen and (min-width: 1440px) {
    div.ImagesVideo img { width: 500px; }
    div.ImagesHZ img { width: 780px; }
    div.ImagesLS img, div.ImagesLSproj img { width: 1000px; }
    div.ImagesHZproj img { width: 710px; }
}

@media screen and (max-width: 1440px) and (min-width: 1000px) {
    div.ImagesVideo img { width: 350px; }
    div.ImagesHZ img { width: 500px; }
    div.ImagesLS img, div.ImagesLSproj img { width: 700px; }
    div.ImagesHZproj img { width: 430px; }
}

@media screen and (max-width: 1000px) and (min-width: 850px) {
    div.ImagesVideo img { width: 250px; }
    div.ImagesHZ img { width: 500px; }
    div.ImagesLS img, div.ImagesLSproj img { width: 550px; }
    div.ImagesHZproj img { width: 430px; }
}

@media screen and (max-width: 850px) and (min-width: 700px) {
    div.ImagesVideo img { width: 250px; }
    div.ImagesHZ img { width: 500px; }
    div.ImagesLS img, div.ImagesLSproj img { width: 500px; }
    div.ImagesHZproj img { width: 430px; }
}

@media screen and (max-width: 700px) and (min-width: 480px) {
    div.ImagesVideo img { width: 150px; }
    div.ImagesHZ img { width: 420px; padding-left: 35px; }
    div.ImagesLS img, div.ImagesLSproj img { width: 90%; }
    div.ImagesHZproj img { width: 420px; padding-left: 35px; }
}

@media screen and (max-width: 480px) {
    div.ImagesVideo img { width: 90%; }
    div.ImagesHZ img, div.ImagesHZproj img { width: 90%; padding-left: 35px; }
    div.ImagesLS img, div.ImagesLSproj img { width: 420px; }
}

@media screen and (max-width: 850px) and (min-width: 480px) {
    div.spacer { margin-top: 250px; }
    div.spacerproj { margin-top: 150px; }
}

@media screen and (max-width: 480px) {
    div.spacer { margin-top: 250px; }
    div.spacerproj { margin-top: 50px; }
}

div.ImagesLS, div.ImagesLSproj {
    display: flex;
    justify-content: center;
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.0em;
    text-align: center;
}

div.ImagesLS {
    margin-bottom: 50px;
    padding-left: 35px;
}

footer {
    font-family: neue-haas-grotesk-text, sans-serif;
    color: darkslategray;
    font-weight: 400;
    font-size: 0.8em;
    margin-left: 35px;
    margin-top: auto;
    padding-top: 15px;
}

footer.invert {
    font-family: neue-haas-grotesk-text, sans-serif;
    color: whitesmoke;
    font-weight: 400;
    font-size: 0.8em;
    margin-left: 35px;
    margin-top: auto;
    padding-top: 15px;
}

@media screen and (max-width: 480px) { 
    footer, footer.invert {
        font-size: 0.6em;
        padding-top: 5px;
    }
}

.back a {
    color: darkslategray;
    font-weight: 400;
    font-size: 0.9em;
    text-decoration: none;
}

.back a:hover {
    color: #2fafa5;
}

.col1, .col2, .col3 {
    float:left; 
    width:200px;
}

.col1, .col2 {
    margin-right:160px;
}

/* =========================================================
   GLOBAL IMAGE FIXES
========================================================= */
img {
    max-width: 100%; 
    height: auto;    
    max-height: 80vh;
    display: block;
    margin: 0 auto;
}

/* =========================================================
   SLIDESHOW 1 (FADING - FRONT PAGE)
========================================================= */
.slideshow-fade {
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 20px;
}

.slideshow-fade img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
    transition: opacity 0.5s ease-in-out;
}

.slideshow-fade .caption {
    display: block; 
    width: 100%;    
    text-align: center;
    font-size: 0.8rem;
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    color: darkslategray;
    margin-top: 10px;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    text-decoration: none; 
}

a#slideshow-caption {
    text-decoration: none; 
    color: darkslategray;  
}

a#slideshow-caption:hover {
    color: #2fafa5; 
}

@media (max-width: 768px) {
    .slideshow-fade img {
        max-height: none; 
    }
    .slideshow-fade .caption {
        font-size: 0.6rem;
    }
}

/* =========================================================
   SLIDESHOW 2 (PROJECTS)
========================================================= */
.project-slideshow {
    position: relative;
    max-width: 90%;
    margin: auto;
    overflow: hidden; 
}

.proj-slide {
    display: none;
    text-align: center;
}

.proj-slide.active {
    display: block;
}

/* Desktop: limit height & protect aspect ratio */
@media screen and (min-width: 769px) {
    .project-slideshow .proj-slide img {
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: 65vh !important;
        margin: 0 auto !important;
        display: block !important;
        object-fit: contain !important;
    }
}

/* Mobile Slideshow */
@media screen and (max-width: 768px) {
    .project-slideshow {
        width: 90%;          
        max-width: 90%;
        margin: 0 auto;  
        overflow: visible;    
    }
    .proj-slide {
        display: block !important;
        margin-bottom: 20px;
    }
    .project-slideshow .proj-slide img {
        width: auto !important; 
        height: auto !important; 
        max-width: 100% !important; 
        max-height: none !important; 
        margin: 0 auto !important;
        display: block !important;
        object-fit: contain !important; 
    }
    .slideshow-nav,
    .project-slideshow .proj-prev,
    .project-slideshow .proj-next {
        display: none;
    }
}

.slideshow-nav {
    text-align: center;
    margin-top: 20px;
    font-family: inherit;
    font-size: 1rem;
}

.slideshow-nav .prev,
.slideshow-nav .next {
    margin: 0 15px;
    color: darkslategray;
    cursor: pointer;
    text-decoration: none;
}

.slideshow-nav .prev:hover,
.slideshow-nav .next:hover {
    color: #2fafa5;
}

/* =========================================================
   PROJECT FOOTER (TEXT AND INSTALL SHOTS)
========================================================= */
.project-footer {
    display: flex;
    flex-wrap: wrap; 
    gap: 35px;       
    max-width: 90%;  
    margin: 60px auto; 
    align-items: flex-start; 
}

/* Text Column */
.project-description {
    flex: 1;
    min-width: 300px; 
    font-size: 0.9rem;
    line-height: 1.6;
    color: darkslategray;
}

.project-description p {
    margin-bottom: 20px;
}

.project-description h3 {
    margin-top: 40px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Clean up the exhibition list */
.exhibition-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.exhibition-list li {
    margin-bottom: 10px;
}

/* Image Column */
.project-install-shots {
    flex: 1;
    min-width: 0; 
    display: flex;
    flex-direction: column;
    gap: 30px; 
}

/* The Figure Container */
.project-install-shots figure {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%; 
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* THIS STOPS THE IMAGE STRETCHING */
}

/* The Exhibition Images */
.project-install-shots img {
    width: 100% !important;
    height: auto !important; 
    max-width: 100% !important;
    display: block !important;
    object-fit: contain !important; 
}

/* Styling the caption text */
.project-install-shots figcaption {
    font-size: 0.8rem;
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    color: darkslategray;
    margin-top: 8px; 
    text-align: left; 
}

/* Adjustments for Desktop specifically */
@media screen and (min-width: 769px) {
    .project-description {
        flex: 2; 
        padding-right: 40px; 
    }
    .project-install-shots {
        flex: 3; 
    }
}

/* --- Mobile Fixes for Project Footer (Text & Images) --- */
@media screen and (max-width: 768px) {
    .project-footer {
        width: 90%;          
        max-width: 90%;
        margin: 40px auto;   
        padding: 0;          
        gap: 30px; 
    }

    .project-description, 
    .project-install-shots {
        width: 100%; 
        min-width: 100%;
    }
}

/* =========================================================
   PROJECT HOVER PREVIEW IMAGES & CLICK FIXES
========================================================= */

/* 1. Force the Navigation Menu to the VERY FRONT */
nav {
    z-index: 999 !important;
}

/* 2. Bring Main Content forward, but keep it behind the Nav */
.Main {
    position: relative;
    z-index: 10 !important;
}

/* 3. The Hover Image Container */
#hover-image-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; 
    height: 600px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0; 
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
    
    /* Pushes image to the very BACK and forces mouse to ignore it */
    pointer-events: none !important; 
    z-index: -1 !important; 
}

/* The visible state triggered by JavaScript */
#hover-image-container.visible {
    opacity: 0.8; 
    visibility: visible;
}

/* Disable the hover image effect on mobile */
@media screen and (max-width: 768px) {
    #hover-image-container {
        display: none !important;
    }
}

/* Section Headings for the Store */
.store-section-title {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 1.3rem;
    color: darkslategray;
    margin-top: 40px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(47, 79, 79, 0.2); /* A subtle divider line */
    padding-bottom: 10px;
    max-width: 90%;
}

/* Reduces the bottom margin of the first grid so it doesn't push the Prints section too far down */
.publications-grid {
    margin-bottom: 60px !important; 
}

/* =========================================================
   STORE / PRINTS PAGE
========================================================= */

/* The introductory text container */
.store-intro {
    max-width: 800px; /* Keeps the reading line length comfortable */
    margin-bottom: 60px;
}

.store-intro p {
    font-size: 1rem;
    line-height: 1.6;
    color: darkslategray;
    margin-bottom: 15px;
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
}

.store-intro a {
    color: darkslategray;
    text-decoration: underline;
}

.store-intro a:hover {
    color: #2fafa5;
}

/* CSS Grid for the items */
.store-grid {
    display: grid;
    /* This magic line makes the grid responsive automatically */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 60px 40px; /* 60px vertical gap, 40px horizontal gap */
    max-width: 90%;
    margin-bottom: 100px;
}

/* Individual store items */
.store-item {
    display: flex;
    flex-direction: column;
}

.store-item img {
    width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 0 20px 0 !important;
    object-fit: cover;
}

/* Details beneath the image */
.store-item-details {
    font-family: neue-haas-grotesk-text, sans-serif;
    color: darkslategray;
}

.store-item-details h4 {
    margin: 0 0 8px 0;
    font-weight: bold;
    font-size: 1.1rem;
}

.store-item-details p {
    margin: 0 0 20px 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* The Enquire Button */
.enquire-link {
    display: inline-block;
    border-bottom: 1px solid darkslategray;
    padding-bottom: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: darkslategray;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.enquire-link:hover {
    color: #2fafa5;
    border-bottom-color: #2fafa5;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .store-grid {
        max-width: 100%;
        gap: 50px;
    }
}


/* =========================================================
   EDITORIAL LISTS (Exhibitions & Press)
========================================================= */

.editorial-list-container {
    max-width: 900px;
    margin-top: 0px;
    margin-bottom: 100px;
    font-family: neue-haas-grotesk-text, sans-serif;
    color: darkslategray; /* Default for light backgrounds */
}

/* ADD THIS: Forces text to be white/whitesmoke on dark backgrounds */
.editorial-list-container.invert-theme {
    color: whitesmoke; 
}
.editorial-list-container.invert-theme .list-header {
    border-bottom: 1px solid rgba(245, 245, 245, 0.3); /* Lighter divider line */
}

.list-header {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 45px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(47, 79, 79, 0.3);
    padding-bottom: 10px;
}

/* Flexbox Row ensures everything aligns perfectly horizontally */
.list-row {
    display: flex;
    padding: 8px 0;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

/* The Columns */
.list-year {
    flex: 0 0 100px; /* Increased to 100px to fit "2025 - Present" comfortably */
    font-weight: 500;
}

.list-title {
    flex: 1; 
    padding-right: 20px;
}

.list-venue {
    flex: 1; 
    text-align: left;
}

/* Mobile Adjustments */
@media screen and (max-width: 600px) {
    .list-row {
        flex-wrap: wrap;
        padding: 12px 0;
    }
    .list-year {
        flex: 0 0 60px;
    }
    .list-title {
        flex: 1;
        min-width: calc(100% - 60px); 
    }
    .list-venue {
        flex: 100%; 
        padding-left: 60px; 
        font-size: 0.85rem;
        /* Inherits the lighter color but dims it slightly for hierarchy */
        opacity: 0.8; 
        margin-top: 4px;
    }
}

/* =========================================================
   PRESS PAGE SPECIFICS
========================================================= */

/* Tearsheet Image Grid */
.tearsheet-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Creates exactly 2 columns */
    gap: 40px;
    max-width: 900px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.tearsheet-grid figure {
    margin: 0;
    padding: 0;
}

.tearsheet-grid img {
    width: 100% !important;
    height: auto !important;
    display: block;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05); /* Adds a very subtle shadow to make the pages pop off the background */
}

.tearsheet-grid figcaption {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-size: 0.8rem;
    color: gray;
    margin-top: 10px;
}

@media screen and (max-width: 768px) {
    .tearsheet-grid {
        grid-template-columns: 1fr; /* Stacks to a single column on phones */
    }
}

/* Link styling for the Press page so they match the text but highlight on hover */
.editorial-list-container a {
    color: darkslategray;
    text-decoration: none;
    border-bottom: 1px solid rgba(47, 79, 79, 0.3);
    transition: all 0.2s ease;
}

.editorial-list-container a:hover {
    color: #2fafa5;
    border-bottom-color: #2fafa5;
}

/* 2-Column layout for Interviews and Digital Features */
.press-columns-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 20px;
}

.press-col {
    flex: 1;
}

.clean-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.clean-list li {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-size: 0.95rem;
    line-height: 2; /* Gives the links nice breathing room */
}

@media screen and (max-width: 600px) {
    .press-columns-wrapper {
        flex-direction: column;
    }
}

/* =========================================================
   ABOUT / CONTACT PAGE
========================================================= */

.about-bio p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 15px;
    max-width: 800px;
}

.about-contact p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.about-contact a, .about-bio a {
    color: darkslategray;
    text-decoration: none;
    border-bottom: 1px solid rgba(47, 79, 79, 0.3);
    transition: all 0.2s ease;
}

.about-contact a:hover, .about-bio a:hover {
    color: #2fafa5;
    border-bottom-color: #2fafa5;
}

/* Representation Columns */
.representation-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 30px;
}

.rep-column {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.rep-type {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: gray;
    margin-bottom: 5px !important;
}

.rep-name {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    font-size: 1.05rem;
}

.rep-column p {
    margin: 0 0 10px 0;
}

.rep-column a {
    color: darkslategray;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rep-column a:hover {
    color: #2fafa5;
}

/* Stacks the representation columns on mobile phones */
@media screen and (max-width: 768px) {
    .representation-grid {
        flex-direction: column;
        gap: 30px;
    }
}

/* =========================================================
   MOBILE BROWSER LINK OVERRIDES (Blocks Default Blue Links)
========================================================= */

/* Forces links to respect your colors ONLY in the light-themed sections */
.editorial-list-container a, 
.store-intro a,
.store-grid a {
    color: darkslategray !important;
    text-decoration: none !important;
}

/* Restores your custom hover underline for the editorial links */
.about-contact a, 
.about-bio a, 
.editorial-list-container a,
.rep-column a {
    border-bottom: 1px solid rgba(47, 79, 79, 0.3);
}

.about-contact a:hover, 
.about-bio a:hover, 
.editorial-list-container a:hover,
.rep-column a:hover {
    color: #2fafa5 !important;
    border-bottom-color: #2fafa5 !important;
}

/* =========================================================
   SECONDARY AUTO-FADE SLIDESHOW
========================================================= */

.pob-slideshow {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    width: 100%;
}

.mini-slide {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s;
}

.mini-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.mini-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================================
   PORTRAITS PAGE: IMAGE HEIGHT & TEXT CENTERING
========================================================= */

/* 1. Restrain image height and center the image itself */
.proj-slide {
    text-align: center;
    width: 100%;
}

.proj-slide img {
    max-height: 75vh !important; /* Limits the image to 75% of the screen height */
    width: auto !important;      /* Prevents the image from stretching out of proportion */
    max-width: 100% !important;  /* Ensures landscape images still fit horizontally */
    margin: 0 auto;              /* Centers the image inside the slideshow */
    display: block;
}

/* 2. Center the dynamic caption */
#slide-caption {
    text-align: center !important;
    width: 100%;
    display: block;
    margin-top: 15px;
    font-family: neue-haas-grotesk-text, sans-serif;
    color: darkslategray; /* Ensures it stays dark on the whitesmoke background */
}

/* 3. Center the Prev / Next navigation */
.slideshow-nav {
    text-align: center !important;
    width: 100%;
    display: block;
    color: darkslategray;
}

/* =========================================================
   SECONDARY AUTO-FADE SLIDESHOW (Height Restraints)
========================================================= */

/* Center the container */
.mini-slide {
    text-align: center;
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s;
}

/* Restrain the image height and center it */
.mini-slide img {
    max-height: 450px !important; /* Stops the portrait images from stretching too far down */
    width: auto !important;       /* Prevents the image from forcing itself to fill the column width */
    max-width: 100% !important;   /* Ensures landscape images still fit */
    margin: 0 auto;               /* Centers the image within the column */
    display: block;
}

/* Center and style the caption text */
.mini-slide figcaption {
    text-align: center;
    margin-top: 12px;
    font-size: 0.85rem;
    color: darkslategray;
}

/* =========================================================
   GLOBAL MOBILE EDGE PADDING FIX
========================================================= */

@media screen and (max-width: 768px) {
    /* Targets your main content areas to prevent edge-touching */
    .Main, 
    .editorial-list-container,
    .tearsheet-grid,
    .project-slideshow,
    .project-footer {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important; /* Ensures padding pushes inward, not outward */
        width: 100%;
    }

    /* Fixes the title so it aligns nicely with the newly padded text */
    .Title, .Titleinvert {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
}

/* =========================================================
   NAVIGATION OVERLAP & Z-INDEX FIX (CORRECTED)
========================================================= */

/* Boosts the layer height WITHOUT changing your original positioning */
.Logo, .Logoinvert, nav {
    z-index: 9999 !important; 
}

/* Ensures images are restrained on mobile so they don't break their containers */
@media screen and (max-width: 768px) {
    .Main, .project-slideshow {
        z-index: 10 !important;
    }
    
    img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* =========================================================
   MOBILE HEADER OVERLAP FIX (Index & Projects)
========================================================= */

@media screen and (max-width: 768px) {
    /* Pushes the main text and lists down below the taller mobile menu */
    .Main {
        padding-top: 200px !important; 
    }
    
/* ONLY applies the big gap to the home page slideshow */
    .slideshow-fade {  
        margin-top: 200px !important; 
    }

    /* Gives the project page slideshows a normal, smaller gap below the title */
    .project-slideshow {
        margin-top: 20px !important; 
    }

    /* Ensures the hover-image container on the projects page stays out of the way of the menu */
    #hover-image-container {
        top: 120px !important; /* Pushes the background images down so they don't cover the logo */
    }
}

/* Unique container for Video Pages */
.Video-Main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px; /* Reduced top padding to pull title up */
    text-align: center;
}

/* Specific Title for Video Pages */
.Video-Title {
    font-family: neue-haas-grotesk-display, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 300;
    font-size: 0.9rem;
    margin: 0 auto 50px auto; /* Centered with 50px gap below */
    display: block;
}

/* The Grid System */
.Video-Grid-System {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 40px;                     /* Professional spacing */
    align-items: start;
    justify-items: center;
}

/* For the Coverless page (Landscape), we force it to 1 column */
.Single-Video-Layout {
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

.Interview-Player {
    width: 100%;
    height: auto;
    display: block;
    background-color: #000;
}

/* Caption formatting */
.Video-Block p {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-size: 0.75rem;
    color: darkslategrey;
    text-align: center;
    margin-top: 15px;
}

/* Responsive: Stack on Mobile */
@media (max-width: 800px) {
    .Video-Grid-System {
        grid-template-columns: 1fr; /* Stacks to 1 column on phones */
    }
}

/* Reduce the gap at the top of the video section */
.Video-Main {
    padding-top: 20px !important; /* Forces the gap to be smaller */
    margin-top: 0 !important;
}

/* Tighten the space specifically under the Title */
.Title {
    margin-bottom: 20px !important; /* Pulls the video up toward the text */
    padding-bottom: 0;
}

/* Ensure the grid doesn't have its own top margin */
.Video-Grid-System {
    margin-top: 0;
}

.Interview-Player {
    width: 100%;
    /* Forces both videos to a standard Vertical/Portrait 9:16 ratio */
    aspect-ratio: 9 / 16; 
    /* This ensures the video fills the box without stretching or distorting */
    object-fit: cover; 
    background-color: #000;
    display: block;
}

.Video-Block {
    flex: 1;
    /* This ensures the containers themselves stay equal width */
    display: flex;
    flex-direction: column;
}

.Video-Grid-System {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch; /* Keeps the top and bottom of the video boxes aligned */
    justify-items: center;
    max-width: 800px; /* Adjust this to make the "pair" narrower or wider on screen */
    margin: 0 auto;
}

/* Specifically for the Coverless / Landscape video */
.Landscape-Fix {
    aspect-ratio: 16 / 9 !important; /* Standard landscape ratio */
    max-width: 900px;              /* Standard gallery width on your site */
    margin: 0 auto;
}

/* Ensure the Single Layout doesn't have extra top padding */
.Single-Video-Layout {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* -------------------------------------------
   Editorial Split Layout (Text Left, Images Right)
   Only applies when 'editorial-split' is added to the HTML
---------------------------------------------- */

.project-footer.editorial-split {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Text gets 1.5 parts, Images get 1 part */
    gap: 60px;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 40px;
    align-items: start;
}

/* Scope the text styling */
.editorial-split .project-description {
    text-align: left;
    line-height: 1.8;
    font-family: neue-haas-grotesk-text, sans-serif;
    font-size: 0.95rem;
    color: #333;
}

.editorial-split .project-description p {
    margin-bottom: 20px;
}

/* Scope the image column styling */
.editorial-split .project-install-shots {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 0; /* Resets any global margins you might have */
}

.editorial-split .project-install-shots figure {
    width: 100%; 
    max-width: 450px; /* Optional cap to ensure they stay small on massive screens */
    margin: 0 auto;
}

.editorial-split .project-install-shots img {
    width: 100%;
    height: auto;
    display: block;
}

.editorial-split .project-install-shots figcaption {
    font-size: 0.7rem;
    margin-top: 10px;
    color: #777;
    text-align: left;
}

/* Responsive: Stack them on mobile devices */
@media (max-width: 900px) {
    .project-footer.editorial-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .editorial-split .project-install-shots {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* =========================================================
   RESPONSIVE YOUTUBE WRAPPER & CAPTION
========================================================= */

/* 1. The Video Container */
.responsive-video {
    width: 100%;
    max-width: 1200px; /* <-- CHANGE THIS NUMBER to make the video bigger or smaller on desktop */
    margin: 0 auto; 
    aspect-ratio: 16 / 9; 
}

/* 2. The Video Itself */
.responsive-video iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* 3. The Caption Block */
.video-caption {
    width: 100%;
    max-width: 1200px; /* <-- KEEP THIS THE SAME as the video max-width so the text aligns */
    margin: 15px auto 40px auto; 
    text-align: left;
    font-family: neue-haas-grotesk-text, sans-serif;
    font-size: 0.85rem;
    color: darkslategray;
    line-height: 1.6;
}

.video-caption p {
    margin: 0; 
}

@media screen and (max-width: 480px) {
    .Main {
        /* Overrides the 200px padding from the 768px media query */
        padding-top: 20px !important; 
    }
    
    .slideshow-fade {
        /* Overrides the 200px margin from the 768px media query on the index page */
        margin-top: 20px !important; 
    }
}

.multiline-link {
    display: inline-block;
    line-height: 1.2;          /* Brings the two lines closer together */
    vertical-align: middle;    /* Keeps it perfectly aligned with the other list items */
}

/* --- Uniform 3-Column Grid (Landscape 5:4) --- */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Forces exactly 3 equal columns */
    gap: 40px 40px; 
    padding: 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Mobile Fallback: 1 column */
@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Elevated Text Styling --- */
.grid-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.grid-item:hover {
    opacity: 0.6;
}

.grid-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 3 / 2; /* Updated to Landscape */
    margin-bottom: 16px;
}

/* Groups Title and Date on one line */
.caption-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
    border-bottom: 1px solid #2f4f4f; /* Using your dark slate grey for the line */
    padding-bottom: 6px;
}

.grid-item-title {
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    font-family: neue-haas-grotesk-text, sans-serif;
    color: darkslategray;
}

.grid-item-date {
    font-size: 0.7rem;
    opacity: 0.7;
    color: darkslategray;
}

.grid-item-desc {
    font-size: 0.75rem;
    line-height: 1.4;
    margin: 0;
    opacity: 0.85;
    color: darkslategray;
}

/* Main Portfolio Grid */
.project-grid {
    display: grid;
    /* Creates a responsive grid that automatically adds columns as screen width allows. 
       Minimum column width is 300px, expanding to fill available space. */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem 1.5rem; /* 2.5rem vertical spacing, 1.5rem horizontal spacing */
    margin-bottom: 4rem;
}

/* Individual Project Cards */
.grid-item {
    display: flex;
    flex-direction: column;
    text-decoration: none; /* Removes default link underline */
    color: inherit; /* Inherits text color from the body */
    transition: opacity 0.3s ease;
}

.grid-item:hover {
    opacity: 0.7; /* Soft fade effect on hover */
}

/* Image Alignment */
.grid-item img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0.8rem; /* Spacing between the image and the text */
}

/* Caption Layout (Title & Date) */
.caption-header {
    display: flex;
    justify-content: space-between; /* Pushes title to the left, date to the right */
    align-items: baseline; /* Ensures text sits on the same baseline */
    width: 100%;
}

.grid-item-title {
    font-weight: 600;
    margin-right: 1rem;
}

.grid-item-date {
    font-size: 0.85em;
    color: #666; /* Subtle grey for the dates */
}