/* Nelson Martins Blog — styles */

:root{
  --accent: #6f7861;
  --accent-1: #6f7861;
  --accent-2: #6f7861;
  --accent-3: #6f7861;
  --accent-4: #6f7861;
  --ink: #171717;
  --paper: #fff;
  --soft: #777;
  --line: #e5e5e5;
  --charcoal: #1b1b1b;
}

*{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Montserrat,Arial,sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

body.menu-open{
  overflow: hidden;
}

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

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

button{
  font: inherit;
}

.topbar{
  position: fixed;
  z-index: 120;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  display: flex;
  align-items: stretch;
  background: rgba(255,255,255,.96);
  border-bottom: none;
}

.brand{
  display: flex;
  align-items: center;
  padding: 0 28px;
  min-width: 310px;
}

.brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-text strong{
  font-size: 20px;
  letter-spacing: .3px;
}

.brand-text small{
  font-size: 7px;
  letter-spacing: 1.3px;
  margin-top: 1px;
  color: #777;
}

.menu-toggle{
  margin-left: auto;
  width: 74px;
  border: 0;
  background: var(--accent);
  padding: 23px 24px;
  cursor: pointer;
}

.menu-toggle span{
  display: block;
  height: 1px;
  background: #fff;
  margin: 6px 0;
  transition: .25s;
}

.menu-toggle:hover{
  background: color-mix(in srgb,var(--accent) 88%,#000);
}

.overlay-menu{
  position: fixed;
  z-index: 200;
  inset: 0;
  background: rgba(15,15,15,.62);
  opacity: 0;
  visibility: hidden;
  transition: .32s ease;
}

.overlay-menu.open{
  opacity: 1;
  visibility: visible;
}

.menu-panel{
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(520px,92vw);
  background: #fff;
  color: #171717;
  padding: 90px 65px 45px;
  transform: translateX(100%);
  transition: .42s cubic-bezier(.7,0,.2,1);
  display: flex;
  flex-direction: column;
}

.overlay-menu.open .menu-panel{
  transform: none;
}

.menu-close{
  position: absolute;
  z-index: 2;
  right: 24px;
  top: 17px;
  border: 0;
  background: transparent;
  color: #171717;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  font-weight: 200;
}

.menu{
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0,0,0,.22);
}

.menu a{
  font-size: 28px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -.6px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0,0,0,.22);
  transition: .2s;
}

.menu a span{
  display: inline-block;
  width: 42px;
  font-size: 9px;
  letter-spacing: 1px;
  opacity: .65;
  vertical-align: middle;
}

.menu a:hover{
  padding-left: 8px;
}

.hero{
  height: 100vh;
  min-height: 680px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #111;
}

.hero-slide{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 1s ease,transform 6s ease;
}

.hero-slide.active{
  opacity: 1;
  transform: scale(1);
}

.hero-shade{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(0,0,0,.5) 0%,rgba(0,0,0,.2) 44%,rgba(0,0,0,.06) 100%);
}

.hero-content{
  position: absolute;
  left: 8vw;
  top: 50%;
  transform: translateY(-42%);
  max-width: 760px;
}

.eyebrow{
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  margin: 0 0 21px;
  color: rgba(255,255,255,.83);
}

h1, h2{
  font-weight: 600;
  line-height: .98;
  letter-spacing: -2.7px;
  margin: 0;
}

h1{
  font-size: clamp(52px,7.1vw,106px);
}

h1 strong{
  color: var(--accent);
  font-weight: 600;
}

.hero-copy{
  font-size: 16px;
  max-width: 570px;
  margin: 30px 0;
  color: rgba(255,255,255,.87);
}

.line-link{
  display: inline-flex;
  gap: 18px;
  align-items: center;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.7px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 7px;
}

.hero-quote{
  position: absolute;
  right: 6vw;
  top: 28%;
  text-align: right;
  text-transform: uppercase;
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 1.8px;
}

.hero-arrow{
  position: absolute;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.55);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.hero-arrow.prev{
  left: 8vw;
}

.hero-arrow.next{
  left: calc(8vw + 49px);
}

.section{
  position: relative;
  padding: 125px 8vw;
}

.white-section{
  background: #fff;
}

.projects-section{
  display: grid;
  grid-template-columns: 170px minmax(300px,470px) 1fr;
  column-gap: 5vw;
}

.section-index{
  padding-top: 7px;
  text-transform: uppercase;
}

.section-index strong{
  display: block;
  font-size: 42px;
  line-height: 1;
  font-weight: 300;
  color: #d8d8d8;
}

.section-index span{
  display: block;
  margin-top: 13px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.4px;
}

.section-index.light strong{
  color: rgba(255,255,255,.3);
}

.section-index.light span{
  color: #fff;
}

.section-heading h2{
  font-size: clamp(44px,5.4vw,76px);
}

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

.accent-light{
  color: var(--accent);
}

.section-copy{
  padding-top: 4px;
}

.lead{
  font-size: 18px;
  line-height: 1.58;
  max-width: 710px;
  margin-top: 0;
}

.section-heading.light h2{
  color: #fff;
}

.projects-section{
  grid-template-rows: auto auto auto;
}

.project-grid{
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  margin-top: 45px;
}

.charcoal-section{
  background: var(--charcoal);
  color: #fff;
}

footer{
  height: 82px;
  background: #111;
  color: #aaa;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8vw;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

@media (max-width:1100px) {
  .projects-section{
    grid-template-columns: 110px 1fr;
  }

  .section-heading{
    grid-column: 2;
  }

  .section-copy{
    grid-column: 2;
    margin-top: 52px;
  }

  .project-grid{
    grid-column: 1/-1;
    grid-template-columns: repeat(2,1fr);
  }

  .hero-quote{
    display: none;
  }
}

@media (max-width:720px) {
  .topbar{
    height: 66px;
  }

  .brand{
    min-width: 0;
    padding: 0 16px;
  }

  .brand-text strong{
    font-size: 12px;
  }

  .brand-text small{
    font-size: 6px;
  }

  .menu-toggle{
    width: 66px;
    padding: 20px;
  }

  .menu-panel{
    padding: 82px 28px 35px;
  }

  .menu a{
    font-size: 25px;
  }

  .hero{
    min-height: 620px;
  }

  .hero-content{
    left: 7vw;
    right: 7vw;
  }

  .hero-arrow.prev{
    left: 7vw;
  }

  .hero-arrow.next{
    left: calc(7vw + 49px);
  }

  .section{
    padding: 88px 7vw;
  }

  .projects-section{
    display: block;
  }

  .section-index{
    margin-bottom: 32px;
  }

  .section-index strong{
    font-size: 30px;
  }

  .section-heading h2{
    font-size: 46px;
  }

  .section-copy{
    margin-top: 42px;
  }

  .project-grid{
    display: block;
    margin-top: 32px;
  }

  footer{
    padding: 0 7vw;
  }

  .hero-copy{
    font-size: 14px;
  }
}

.projects-section{
  padding-bottom: 0;
}

.project-grid{
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 0;
  margin: 45px -8vw 0;
}

@media (max-width:1100px) {
  .project-grid{
    grid-template-columns: repeat(3,minmax(0,1fr));
    margin-left: -8vw;
    margin-right: -8vw;
  }
}

@media (max-width:720px) {
  .project-grid{
    display: grid;
    grid-template-columns: 1fr;
    margin: 32px -7vw 0;
  }
}

.lightbox{
  position: fixed;
  z-index: 500;
  inset: 0;
  background: rgba(0,0,0,.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease,visibility .25s ease;
  touch-action: pan-y;
}

.lightbox.open{
  opacity: 1;
  visibility: visible;
}

.lightbox-stage{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100vw - 150px);
  height: calc(100vh - 80px);
}

.lightbox-image{
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-close{
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 24px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 46px;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.lightbox-arrow{
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 64px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 34px;
  font-weight: 300;
  cursor: pointer;
  opacity: .86;
  transition: opacity .2s ease;
}

.lightbox-arrow:hover{
  opacity: 1;
}

.lightbox-prev{
  left: 22px;
}

.lightbox-next{
  right: 22px;
}

.lightbox-caption{
  position: absolute;
  left: 0;
  bottom: 0;
  color: #fff;
  padding: 42px 0 4px;
  text-shadow: 0 1px 8px rgba(0,0,0,.75);
  pointer-events: none;
}

.lightbox-caption strong{
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.lightbox-caption span{
  display: block;
  margin-top: 3px;
  font-size: 8px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  opacity: .72;
}

.lightbox-counter{
  position: absolute;
  right: 26px;
  bottom: 20px;
  color: rgba(255,255,255,.75);
  font-size: 9px;
  letter-spacing: 1.2px;
}

body.lightbox-open{
  overflow: hidden;
}

@media (max-width:720px) {
  .lightbox-stage{
    width: 100vw;
    height: 100vh;
    padding: 54px 0 46px;
  }

  .lightbox-image{
    max-width: 100vw;
    max-height: calc(100vh - 100px);
  }

  .lightbox-close{
    top: 8px;
    right: 10px;
    font-size: 42px;
  }

  .lightbox-arrow{
    top: auto;
    bottom: 6px;
    transform: none;
    width: 48px;
    height: 42px;
    font-size: 28px;
  }

  .lightbox-prev{
    left: 8px;
  }

  .lightbox-next{
    right: 8px;
  }

  .lightbox-caption{
    left: 16px;
    right: 70px;
    bottom: 12px;
    padding: 0;
  }

  .lightbox-counter{
    right: 16px;
    bottom: 20px;
  }
}

.project-grid{
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  grid-auto-rows: 10vw;
  grid-auto-flow: dense;
  gap: 0;
}

@media (max-width:1100px) {
  .project-grid{
    grid-template-columns: repeat(3,minmax(0,1fr));
    grid-auto-rows: 13vw;
  }
}

@media (max-width:720px) {
  .project-grid{
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-auto-rows: 34vw;
    grid-auto-flow: dense;
  }
}

.projects-section{
  padding-bottom: 0 !important;
}

.project-grid{
  grid-column: 1 / -1 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  margin: 45px -8vw 0 !important;
  align-items: stretch !important;
  background: #111;
}

@media (max-width:1100px) {
  .project-grid{
    margin-left: -8vw !important;
    margin-right: -8vw !important;
  }
}

@media (max-width:720px) {
  .project-grid{
    display: flex !important;
    margin: 32px -7vw 0 !important;
  }
}

.photography-section{
  display: grid;
  grid-template-columns: 170px minmax(300px,470px) 1fr;
  column-gap: 5vw;
  padding-bottom: 0 !important;
}

.photography-copy{
  padding-top: 4px;
}

@media (max-width:1100px) {
  .photography-section{
    grid-template-columns: 110px 1fr;
  }

  .photography-section .section-heading{
    grid-column: 2;
  }

  .photography-copy{
    grid-column: 2;
    margin-top: 52px;
  }
}

@media (max-width:720px) {
  .photography-section{
    display: block;
  }

  .photography-copy{
    margin-top: 42px;
  }
}

.topbar{
  background: #191919;
  border-bottom: none;
}

.brand{
  padding-left: 28px;
}

.brand-text strong{
  color: #ffffff;
}

.brand-text small{
  color: #ffffff;
}

.menu-toggle span{
  background: #ffffff;
}

@media (max-width:720px) {
  .brand{
    padding-left: 16px;
  }
}

.experience-section{
  display: grid;
  grid-template-columns: 170px minmax(300px,470px) 1fr;
  column-gap: 5vw;
  padding-bottom: 0 !important;
}

.experience-copy{
  padding-top: 4px;
}

.experience-grid{
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 60px -8vw 0;
  align-items: stretch;
  background: #111;
}

@media (max-width:1100px) {
  .experience-section{
    grid-template-columns: 110px 1fr;
  }

  .experience-section .section-heading{
    grid-column: 2;
  }

  .experience-copy{
    grid-column: 2;
    margin-top: 52px;
  }

  .experience-grid{
    margin-left: -8vw;
    margin-right: -8vw;
  }
}

@media (max-width:720px) {
  .experience-section{
    display: block;
  }

  .experience-copy{
    margin-top: 42px;
  }

  .experience-grid{
    margin: 32px -7vw 0;
  }
}

.brand{
  min-width: 340px;
}

.brand-text strong{
  letter-spacing: .5px;
}

.brand-text small{
  letter-spacing: 1.6px;
}

.hero-slide{
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.hero-slide.active{
  transform: none !important;
}

.testimonial-item{
  border-bottom: 1px solid #d7d9d2;
}

.testimonial-item summary{
  list-style: none;
  display: grid;
  grid-template-columns: 52px minmax(0,1fr) 150px 32px;
  gap: 18px;
  align-items: center;
  min-height: 58px;
  cursor: pointer;
  user-select: none;
}

.testimonial-item summary::-webkit-details-marker{
  display: none;
}

.testimonial-item summary strong{
  font-size: 12px;
  font-weight: 600;
}

.testimonial-item[open] summary{
  color: var(--accent);
}

@media (max-width:1100px) {
  .testimonial-item summary{
    grid-template-columns: 42px minmax(0,1fr) 130px 28px;
  }
}

@media (max-width:720px) {
  .testimonial-item summary{
    grid-template-columns: 34px minmax(0,1fr) 26px;
    gap: 12px;
    min-height: 58px;
  }
}

.comment-form{
  max-width: 760px;
  margin-top: 44px;
}

.comment-field{
  border-top: 1px solid #dcdcdc;
  padding: 18px 0 13px;
}

.comment-field:last-of-type{
  border-bottom: 1px solid #dcdcdc;
}

.comment-field label{
  display: block;
  margin-bottom: 8px;
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #777;
}

.comment-field input, .comment-field textarea{
  display: block;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.6;
  padding: 0;
  resize: vertical;
}

.comment-field input{
  min-height: 34px;
}

.comment-field textarea{
  min-height: 120px;
}

.comment-submit{
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 13px 0;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.comment-submit span{
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}

.comment-note{
  margin: 12px 0 0;
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: #999;
}

@media (max-width:720px) {
  .comment-form{
    margin-top: 32px;
  }
}

#projects{
  background: #ffffff !important;
}

#photography{
  background: #eceee9 !important;
}

#experience{
  background: var(--charcoal) !important;
}

.about-more{
  margin-top: 48px;
  border-top: 1px solid rgba(23,23,23,.18);
  border-bottom: 1px solid rgba(23,23,23,.18);
}

.about-more summary{
  list-style: none;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  user-select: none;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.about-more summary::-webkit-details-marker{
  display: none;
}

.about-more-toggle{
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  font-weight: 300;
  color: var(--accent);
  transition: transform .2s ease;
}

.about-more[open] .about-more-toggle{
  transform: rotate(45deg);
}

.about-more-content{
  padding: 0 0 34px;
}

@media (max-width:720px) {
  .about-more{
    margin-top: 40px;
  }

  .about-more summary{
    min-height: 58px;
  }

  .about-more-content{
    padding-bottom: 26px;
  }
}

.about-more{
  margin-top: 32px !important;
}

@media (max-width:720px) {
  .about-more{
    margin-top: 28px !important;
  }
}

.hero{
  background: #000 url("images/head/music_19.jpg") center center / cover no-repeat !important;
}

.hero-slide{
  display: none !important;
  background-image: none !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.hero-shade{
  display: none !important;
}

.hero-arrow{
  display: none !important;
}

.footer-links{
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-links a:hover{
  color: #fff;
}

@media (max-width:720px) {
  .footer-links{
    gap: 14px;
  }
}

.article-gallery-cover{
  cursor: zoom-in;
}

.article-gallery-cover:focus-visible{
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width:720px) {
  .topbar{
    width: 100%;
    max-width: 100vw;
    overflow: visible;
  }

  .brand{
    min-width: 0 !important;
    width: auto !important;
    flex: 1 1 auto;
    padding-left: 16px !important;
    padding-right: 10px !important;
  }

  .brand-text{
    min-width: 0;
  }

  .menu-toggle{
    display: block !important;
    flex: 0 0 58px !important;
    width: 58px !important;
    min-width: 58px !important;
    height: 66px;
    margin-left: auto;
    padding: 20px 17px !important;
    position: relative;
    z-index: 220;
  }

  .overlay-menu{
    width: 100vw;
    max-width: 100vw;
  }

  .menu-panel{
    right: 0;
    width: min(340px,92vw);
    max-width: 92vw;
    padding: 82px 28px 35px;
  }
}

@media (max-width:720px) {
  .topbar{
    height: 66px !important;
    overflow: visible !important;
  }

  .brand{
    min-width: 0 !important;
    width: calc(100% - 78px) !important;
    max-width: calc(100% - 78px) !important;
    flex: 0 0 calc(100% - 78px) !important;
    overflow: hidden !important;
    padding-left: 16px !important;
    padding-right: 6px !important;
  }

  .menu-toggle{
    position: fixed !important;
    top: 6px !important;
    right: 8px !important;
    left: auto !important;
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    height: 54px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 10000 !important;
    background: var(--accent) !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .menu-toggle span{
    display: none !important;
  }

  .menu-toggle::before{
    content: "";
    position: absolute;
    left: 15px;
    top: 17px;
    width: 24px;
    height: 1px;
    background: #fff;
    box-shadow: 0 7px 0 #fff, 0 14px 0 #fff;
  }

  .menu-panel{
    width: min(340px,92vw) !important;
    max-width: 92vw !important;
    padding: 52px 24px 20px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .menu-close{
    top: 6px !important;
    right: 14px !important;
    font-size: 38px !important;
  }

  .menu{
    margin-top: 0 !important;
  }

  .menu a{
    font-size: 20px !important;
    line-height: 1.05 !important;
    padding: 10px 0 !important;
  }

  .menu a span{
    width: 34px !important;
    font-size: 8px !important;
  }
}

@media (max-width:720px) {
  .menu-panel{
    padding-top: 58px !important;
    padding-bottom: 24px !important;
  }

  .menu a{
    padding: 11px 0 !important;
  }
}

.topbar{
  display: flex !important;
  align-items: stretch !important;
  overflow: visible !important;
}

.topbar .brand{
  flex: 0 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 310px !important;
  padding: 0 28px !important;
  overflow: visible !important;
}

.topbar .menu-toggle{
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
  width: 74px !important;
  min-width: 74px !important;
  max-width: 74px !important;
  height: auto !important;
  padding: 23px 24px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: auto !important;
}

.topbar .menu-toggle::before{
  content: none !important;
  display: none !important;
}

.topbar .menu-toggle span{
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  height: 1px !important;
  margin: 6px 0 !important;
  background: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
  box-shadow: none !important;
  transform: none !important;
}

@media (max-width:720px) {
  .topbar{
    height: 66px !important;
  }

  .topbar .brand{
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 16px !important;
    overflow: visible !important;
  }

  .topbar .menu-toggle{
    position: static !important;
    flex: 0 0 66px !important;
    margin-left: auto !important;
    width: 66px !important;
    min-width: 66px !important;
    max-width: 66px !important;
    height: 66px !important;
    padding: 20px !important;
    z-index: auto !important;
  }

  .topbar .menu-toggle span{
    display: block !important;
    width: auto !important;
    height: 1px !important;
    margin: 6px 0 !important;
  }
}

footer{
  gap: 28px;
}

.footer-comments-open{
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 9px;
  cursor: pointer;
  padding: 20px 0;
}

.footer-comments-open span{
  margin-left: 10px;
  color: var(--accent);
  font-size: 20px;
}

.footer-links{
  display: flex;
  gap: 24px;
}

.comments-panel{
  position: fixed;
  z-index: 600;
  inset: 0;
  background: #fff;
  color: var(--ink);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: .25s ease;
}

.comments-panel.open{
  opacity: 1;
  visibility: visible;
  transform: none;
}

body.comments-open{
  overflow: hidden;
}

.comments-panel-head{
  position: sticky;
  z-index: 2;
  top: 0;
  height: 74px;
  padding-left: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #191919;
  color: #fff;
}

.comments-panel-head div{
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.comments-panel-head strong{
  font-size: 14px;
}

.comments-panel-head small{
  font-size: 7px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.comments-panel-close{
  border: 0;
  background: var(--accent);
  color: #fff;
  width: 74px;
  height: 74px;
  font-size: 42px;
  font-weight: 200;
  cursor: pointer;
}

.comments-blog{
  width: min(1120px,84vw);
  margin: auto;
  padding: 90px 0 110px;
}

.comments-intro{
  display: grid;
  grid-template-columns: 170px minmax(320px,470px) 1fr;
  column-gap: 5vw;
  align-items: start;
  padding-bottom: 70px;
  border-bottom: 1px solid #ddd;
}

.comments-kicker{
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.comments-intro h2{
  font-size: clamp(44px,5.4vw,76px);
}

.comments-intro p{
  margin: 5px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: #666;
}

.comments-thread, .comments-form-area{
  max-width: 860px;
  margin-left: auto;
}

.blog-comment{
  position: relative;
  padding: 28px 0;
  border-bottom: 1px solid #e1e1e1;
}

.comment-meta{
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.comment-meta strong{
  font-size: 13px;
}

.comment-meta time{
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #999;
}

.blog-comment p{
  margin: 9px 90px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

.comment-reply{
  border: 0;
  background: none;
  padding: 5px 0;
  margin-top: 10px;
  color: var(--accent);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  cursor: pointer;
}

.blog-comment.reply{
  margin-left: 70px;
  padding-left: 34px;
}

.reply-mark{
  position: absolute;
  left: 0;
  top: 29px;
  color: var(--accent);
  font-size: 18px;
}

.comments-form-area{
  margin-top: 75px;
  padding-top: 28px;
  border-top: 2px solid #191919;
}

.comments-form-area .comment-form{
  margin-top: 24px;
}

.replying-to{
  color: var(--accent);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

@media (max-width:720px) {
  footer{
    height: auto;
    min-height: 82px;
    flex-wrap: wrap;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .footer-comments-open{
    order: 3;
    width: 100%;
    text-align: left;
    border-top: 1px solid #333;
    padding: 12px 0 0;
  }

  .footer-links{
    gap: 14px;
  }

  .comments-panel-head{
    height: 66px;
    padding-left: 16px;
  }

  .comments-panel-close{
    width: 66px;
    height: 66px;
  }

  .comments-blog{
    width: 86vw;
    padding: 55px 0 80px;
  }

  .comments-intro{
    display: block;
    padding-bottom: 42px;
  }

  .comments-intro h2{
    font-size: 44px;
    margin-top: 25px;
  }

  .comments-intro p{
    margin-top: 24px;
  }

  .blog-comment p{
    margin-right: 0;
    font-size: 13px;
  }

  .blog-comment.reply{
    margin-left: 26px;
    padding-left: 26px;
  }

  .comments-form-area{
    margin-top: 55px;
  }
}

.header-comments-open{
  margin-left: auto;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 0;
  background: #191919;
  color: #fff;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.header-comments-open span{
  color: var(--accent);
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
}

@media (max-width:720px) {
  .header-comments-open{
    padding: 0 10px;
    font-size: 7px;
    letter-spacing: .6px;
  }

  .header-comments-open span{
    font-size: 14px;
  }
}

.header-comments-open{
  background: #ffffff !important;
  color: #171717 !important;
  min-width: 168px;
  padding: 0 18px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: -.35px !important;
  gap: 4px !important;
}

.header-comments-open span{
  color: #171717 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

@media (max-width:720px) {
  .header-comments-open{
    min-width: auto;
    padding: 0 10px !important;
    font-size: 10px !important;
    letter-spacing: 0 !important;
  }

  .header-comments-open span{
    font-size: 11px !important;
  }

}

.header-comments-open{
  border-right: 2px solid #191919 !important;
}

.journal-filters{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.journal-filters button{
  border: 0;
  background: transparent;
  padding: 0;
  color: #777;
  cursor: pointer;
  font: inherit;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.journal-filters button.active, .journal-filters button:hover{
  color: var(--accent);
}

.journal-filters span{
  color: #b7b7b7;
}

.journal-grid{
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1px;
  margin: 60px -8vw 0;
  background: #fff;
}

.journal-cover{
  position: relative;
  min-height: 430px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
  color: #fff;
}

.journal-cover:first-child{
  grid-column: 1/-1;
  min-height: 560px;
}

.journal-cover[hidden]{
  display: none;
}

.journal-cover-image{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, opacity .5s ease;
}

.journal-cover::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.08) 72%);
}

.journal-cover:hover .journal-cover-image{
  transform: scale(1.015);
  opacity: .94;
}

.journal-cover-caption{
  position: absolute;
  z-index: 2;
  left: 36px;
  right: 36px;
  bottom: 34px;
}

.journal-cover:first-child .journal-cover-caption{
  left: 8vw;
  bottom: 58px;
  width: min(600px,72%);
}

.journal-cover-caption span{
  display: block;
  font-size: 8px;
  letter-spacing: 1.7px;
  margin-bottom: 10px;
}

.journal-cover-caption strong{
  display: block;
  font-size: clamp(30px,4vw,58px);
  line-height: .98;
  letter-spacing: -1.7px;
}

.journal-cover:first-child .journal-cover-caption strong{
  font-size: clamp(42px,5.2vw,76px);
}

.journal-cover-caption small{
  display: block;
  max-width: 520px;
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.55;
}

.article-panel{
  position: fixed;
  z-index: 620;
  inset: 0;
  background: #fff;
  color: #171717;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: .28s ease;
}

.article-panel.open{
  opacity: 1;
  visibility: visible;
  transform: none;
}

.article-panel-head{
  position: sticky;
  top: 0;
  z-index: 3;
  height: 74px;
  padding: 0 28px;
  background: #191919;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-panel-head > div{
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.article-panel-head strong{
  font-size: 18px;
}

.article-panel-head small{
  margin-top: 3px;
  font-size: 7px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.article-panel-close{
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
}

.article-panel-body{
  width: min(1100px,84vw);
  margin: 0 auto;
  padding: 95px 0 120px;
}

.article-panel-body[hidden]{
  display: none;
}

.article-intro{
  max-width: 780px;
}

.article-intro h2{
  margin-top: 18px;
  font-size: clamp(52px,7vw,96px);
}

.article-intro p{
  max-width: 720px;
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.65;
}

.article-content{
  max-width: 760px;
  margin-top: 70px;
  font-size: 16px;
  line-height: 1.85;
}

.article-content p + p{
  margin-top: 28px;
}

.article-gallery{
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  width: 100vw;
  margin: 85px calc(50% - 50vw) -120px;
  background: #fff;
}

.article-gallery figure{
  position: relative;
  flex: 1 1 360px;
  height: 280px;
  margin: 0;
  overflow: hidden;
  background: #111;
  cursor: zoom-in;
}

.article-gallery figure:nth-child(4n/**/+1){
  flex-basis: 520px;
}

.article-gallery figure:nth-child(5n){
  flex-basis: 250px;
}

.article-gallery img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease,opacity .45s ease;
}

.article-gallery figure:hover img{
  transform: scale(1.018);
  opacity: .94;
}

body.article-open{
  overflow: hidden;
}

@media (max-width:720px) {
  .journal-grid{
    grid-template-columns: 1fr;
    margin: 32px -7vw 0;
    gap: 0;
  }

  .journal-cover, .journal-cover:first-child{
    grid-column: auto;
    min-height: 420px;
  }

  .journal-cover-caption, .journal-cover:first-child .journal-cover-caption{
    left: 7vw;
    right: 7vw;
    bottom: 32px;
    width: auto;
  }

  .journal-cover-caption small{
    font-size: 11px;
  }

  .article-panel-head{
    height: 66px;
    padding: 0 16px;
  }

  .article-panel-body{
    width: 86vw;
    padding: 70px 0 90px;
  }

  .article-intro p{
    font-size: 15px;
  }

  .article-content{
    font-size: 14px;
    margin-top: 48px;
  }

  .article-gallery{
    display: block;
    margin-top: 62px;
    margin-bottom: -90px;
  }

  .article-gallery figure{
    width: 100%;
    height: auto;
  }

  .article-gallery img{
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

.lightbox.article-gallery-lightbox{
  z-index: 700 !important;
}

.journal-cover{
  min-height: 215px !important;
}

.journal-cover:first-child{
  min-height: 280px !important;
}

@media (max-width:720px) {
  .journal-cover, .journal-cover:first-child{
    min-height: 210px !important;
  }
}

.journal-cover:first-child{
  grid-column: auto !important;
}

.journal-cover-caption, .journal-cover:first-child .journal-cover-caption{
  left: 36px !important;
  right: 36px !important;
  bottom: 34px !important;
  width: auto !important;
}

.journal-cover:first-child .journal-cover-caption strong{
  font-size: clamp(30px,4vw,58px) !important;
}

@media (max-width:720px) {
  .journal-grid{
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }

  .journal-cover, .journal-cover:first-child{
    min-height: 210px !important;
  }

  .journal-cover-caption, .journal-cover:first-child .journal-cover-caption{
    left: 18px !important;
    right: 18px !important;
    bottom: 20px !important;
  }
}

.journal-grid{
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
}

.journal-cover, .journal-cover:first-child{
  grid-column: auto !important;
  min-height: 260px !important;
}

.journal-cover-caption, .journal-cover:first-child .journal-cover-caption{
  left: 24px !important;
  right: 24px !important;
  bottom: 24px !important;
  width: auto !important;
}

.journal-cover-caption strong, .journal-cover:first-child .journal-cover-caption strong{
  font-size: clamp(24px,2.6vw,42px) !important;
}

.journal-cover-caption small{
  font-size: 10px !important;
}

@media (max-width:1100px) {
  .journal-grid{
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
}

@media (max-width:720px) {
  .journal-grid{
    grid-template-columns: 1fr !important;
  }

  .journal-cover, .journal-cover:first-child{
    min-height: 300px !important;
  }
}

.menu-mobile-action{
  display: none;
}

@media (max-width:720px) {
  .topbar .header-comments-open{
    display: none !important;
  }

  .menu-mobile-action{
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.28);
    background: transparent;
    color: #fff;
    text-align: left;
    font-size: 25px;
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -.6px;
    padding: 15px 0;
    cursor: pointer;
  }

  .menu-mobile-action span{
    display: inline-block;
    width: 42px;
    font-size: 9px;
    letter-spacing: 1px;
    opacity: .65;
    vertical-align: middle;
  }

  button.menu-mobile-action{
    font-family: Montserrat,Arial,sans-serif;
  }
}

.overlay-menu .menu .menu-mobile-action{
  display: none !important;
}

@media (max-width:720px) {
  .overlay-menu .menu .menu-mobile-action{
    display: block !important;
  }
}

@media (max-width:720px) {
  .topbar{
    width: 100% !important;
  }

  .topbar .brand{
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .topbar .menu-toggle{
    margin-left: auto !important;
    margin-right: 0 !important;
    flex: 0 0 66px !important;
    width: 66px !important;
  }
}

.article-panel-body{
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 95px 8vw 120px !important;
}

.article-intro{
  width: 100% !important;
  max-width: 780px !important;
  margin: 0 !important;
}

.article-content{
  width: 100% !important;
  max-width: 760px !important;
  margin: 70px 0 0 !important;
}

.article-gallery{
  width: 100vw !important;
  margin: 85px -8vw -120px !important;
}

@media (max-width:720px) {
  .article-panel-body{
    width: 100% !important;
    padding: 70px 7vw 90px !important;
  }

  .article-intro, .article-content{
    width: 100% !important;
    max-width: none !important;
  }

  .article-content{
    margin: 48px 0 0 !important;
  }

  .article-gallery{
    width: 100vw !important;
    margin: 60px -7vw -90px !important;
  }
}

.article-nav-label{
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.4px;
}

.article-nav-arrow{
  width: 54px;
  height: 100%;
  padding: 0;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.18);
  background: transparent;
  color: #fff;
  font-size: 23px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: opacity .2s ease, background .2s ease;
}

.article-nav-arrow:hover:not(:disabled){
  background: rgba(255,255,255,.08);
}

.article-nav-arrow:disabled{
  opacity: .22;
  cursor: default;
}

@media (max-width:720px) {
  .article-panel-head{
    padding-right: 0 !important;
  }

  .article-panel-head > div:first-child small{
    display: none;
  }

  .article-nav-label{
    padding: 0 10px;
    font-size: 7px;
    letter-spacing: 1px;
  }

  .article-nav-arrow{
    width: 42px;
    font-size: 20px;
  }
}

.article-nav-label{
  border-left: 0 !important;
  border-right: 1px solid rgba(255,255,255,.18) !important;
}

.article-nav-prev{
  border-right: 1px solid rgba(255,255,255,.18) !important;
}

.article-nav-next{
  border-right: 1px solid rgba(255,255,255,.18) !important;
}

.article-white-nav{
  position: sticky;
  top: 74px;
  z-index: 4;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 54px;
  padding: 0 28px;
  margin: 0;
  background: #ffffff;
  color: #171717;
  border-bottom: 1px solid #e5e5e5;
}

.article-white-nav .article-nav-label{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 16px;
  color: #171717 !important;
  border-left: 1px solid #e5e5e5 !important;
  border-right: 1px solid #e5e5e5 !important;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.4px;
}

.article-white-nav .article-nav-arrow{
  width: 48px;
  height: 100%;
  padding: 0;
  border: 0;
  background: #ffffff;
  color: #171717 !important;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.article-white-nav .article-nav-prev{
  border-left: 1px solid #e5e5e5 !important;
}

.article-white-nav .article-nav-next{
  border-right: 1px solid #e5e5e5 !important;
}

.article-white-nav .article-nav-arrow:hover:not(:disabled){
  background: #f3f3f3;
}

.article-white-nav .article-nav-arrow:disabled{
  opacity: .22;
  cursor: default;
}

.article-panel-body{
  padding-top: 70px !important;
}

@media (max-width:720px) {
  .article-white-nav{
    top: 66px;
    height: 48px;
    padding: 0 10px;
  }

  .article-white-nav .article-nav-label{
    padding: 0 10px;
    font-size: 7px;
    letter-spacing: 1px;
  }

  .article-white-nav .article-nav-arrow{
    width: 40px;
    font-size: 19px;
  }

  .article-panel-body{
    padding-top: 54px !important;
  }
}

.journal-filters{
  font-size: 10px !important;
  gap: 10px !important;
  letter-spacing: 1.25px !important;
}

.journal-filters button{
  font-size: 10px !important;
  letter-spacing: 1.25px !important;
}

@media (max-width:720px) {
  .journal-filters{
    font-size: 9px !important;
    gap: 7px !important;
  }

  .journal-filters button{
    font-size: 9px !important;
  }
}

.journal-filters button.active{
  color: #8b3f36 !important;
}

.journal-grid{
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  gap: 1px !important;
  background: #fff !important;
}

.journal-cover, .journal-cover:first-child{
  position: relative !important;
  grid-column: auto !important;
  flex: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.journal-cover-image{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.journal-cover-caption, .journal-cover:first-child .journal-cover-caption{
  left: 26px !important;
  right: 26px !important;
  bottom: 24px !important;
  width: auto !important;
}

.journal-cover-caption strong, .journal-cover:first-child .journal-cover-caption strong{
  font-size: clamp(25px,2.2vw,40px) !important;
  line-height: 1 !important;
}

.journal-grid::after{
  display: none !important;
  content: none !important;
}

@media (max-width:720px) {
  .journal-grid{
    display: block !important;
  }

  .journal-cover, .journal-cover:first-child{
    width: 100% !important;
    height: 320px !important;
  }

  .journal-cover-caption, .journal-cover:first-child .journal-cover-caption{
    left: 7vw !important;
    right: 7vw !important;
    bottom: 28px !important;
  }

  .journal-cover-caption strong, .journal-cover:first-child .journal-cover-caption strong{
    font-size: clamp(28px,8vw,42px) !important;
  }
}

#projects .project-grid, #photography .journal-grid, #experience .experience-grid, .article-gallery{
  border-left: 1px solid #fff !important;
  border-right: 1px solid #fff !important;
}

#projects .project-grid{
  margin-top: 0 !important;
}

#experience .experience-grid{
  margin-top: 0 !important;
}

@media (max-width:720px) {
  #projects .project-grid, #photography .journal-grid, #experience .experience-grid{
    border-left: 1px solid #fff !important;
    border-right: 1px solid #fff !important;
  }

  .article-gallery{
    border-left: 1px solid #fff !important;
    border-right: 1px solid #fff !important;
  }
}

#photography .journal-grid{
  border-bottom: 1px solid #fff !important;
}

#projects .section-heading, #projects .section-copy{
  padding-bottom: 36px !important;
}

@media (max-width:720px) {
  #projects .section-heading, #projects .section-copy{
    padding-bottom: 24px !important;
  }
}

#experience .section-heading, #experience .experience-copy{
  padding-bottom: 42px !important;
}

@media (max-width:720px) {
  #experience .section-heading, #experience .experience-copy{
    padding-bottom: 26px !important;
  }
}

.article-panel-body .article-content > p{
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.article-panel-body .about-more{
  margin-top: 20px !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.article-panel-body .about-more summary{
  min-height: 34px !important;
  justify-content: flex-start !important;
  gap: 5px !important;
  padding: 0 !important;
}

.article-panel-body .about-more-toggle{
  width: auto !important;
  height: auto !important;
  display: inline-block !important;
  font-size: 15px !important;
}

.article-panel-body .about-more-content{
  padding: 8px 0 10px !important;
}

.article-panel-body .about-more-content p{
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 14px;
}

@media (max-width:720px) {
  .article-panel-body .article-content > p{
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 14px;
  }

  .article-panel-body .about-more{
    margin-top: 16px !important;
  }

  .article-panel-body .about-more summary{
    min-height: 30px !important;
  }

  .article-panel-body .about-more-content p{
    font-size: 12px;
  }
}

@media (min-width:721px) and (max-width:1100px) {
  #projects .project-grid, #experience .experience-grid, .article-gallery{
    width: auto !important;
    max-width: none !important;
    overflow: hidden;
  }

  .article-gallery figure, .article-gallery figure:nth-child(4n/**/+1), .article-gallery figure:nth-child(5n){
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    box-sizing: border-box;
  }

  .article-gallery figure, .article-gallery figure:nth-child(4n/**/+1), .article-gallery figure:nth-child(5n){
    height: 260px !important;
  }

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

@media (min-width:721px) and (max-width:1100px) {
  #photography .journal-grid{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1px !important;
    align-items: flex-start !important;
    width: auto !important;
  }

  #photography .journal-cover, #photography .journal-cover:first-child, #photography .journal-cover:nth-child(n){
    width: calc(50% - 0.5px) !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 0 0 calc(50% - 0.5px) !important;
    height: auto !important;
    margin: 0 !important;
  }

  #photography .journal-cover img{
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }

  .article-gallery{
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    grid-auto-flow: row !important;
    gap: 1px !important;
    width: 100% !important;
  }

  .article-gallery figure, .article-gallery figure:nth-child(n){
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    flex: none !important;
    margin: 0 !important;
    aspect-ratio: 4 / 3 !important;
  }

  .article-gallery figure img{
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

#projects .project-grid, #experience .experience-grid, #photography .journal-grid, .article-gallery{
  gap: 1px !important;
  background: #000 !important;
}

#photography .journal-cover, .article-gallery figure{
  box-sizing: border-box !important;
}

#projects .project-grid, #photography .journal-grid, #experience .experience-grid, .article-gallery{
  gap: 3px !important;
  background: #000 !important;
  border-left: 3px solid #000 !important;
  border-right: 3px solid #000 !important;
  border-top: 3px solid #000 !important;
  border-bottom: 3px solid #000 !important;
}

#photography .journal-cover, .article-gallery figure{
  border: 0 !important;
  outline: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

@media (max-width:1100px) {
  #projects .project-grid, #photography .journal-grid, #experience .experience-grid, .article-gallery{
    gap: 3px !important;
    background: #000 !important;
    border: 3px solid #000 !important;
  }
}

@media (max-width:720px) {
  #projects .project-grid, #photography .journal-grid, #experience .experience-grid, .article-gallery{
    gap: 3px !important;
    background: #000 !important;
    border: 3px solid #000 !important;
  }
}

#projects .project-grid, #photography .journal-grid, #experience .experience-grid, .article-gallery{
  background: #000 !important;
  gap: 3px !important;
  border: 3px solid #000 !important;
  box-shadow: none !important;
}

#photography .journal-cover, .article-gallery figure{
  background: #000 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
}

#projects .project-grid, #photography .journal-grid, #experience .experience-grid, .article-gallery{
  border-left-color: #000 !important;
  border-right-color: #000 !important;
  border-top-color: #000 !important;
  border-bottom-color: #000 !important;
}

#projects .project-grid, #photography .journal-grid, #experience .experience-grid, .article-gallery{
  gap: 3px !important;
  background: #000 !important;
  border: 3px solid #000 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

#photography .journal-cover, .article-gallery > figure{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  background: #000 !important;
}

#photography .journal-cover img, .article-gallery > figure > img{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  display: block !important;
}

#photography .journal-grid{
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
}

#photography .journal-cover, #photography .journal-cover:first-child, #photography .journal-cover:nth-child(n){
  flex: 0 0 auto !important;
  max-width: none !important;
  min-width: 0 !important;
  grid-column: auto !important;
}

.article-gallery{
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
}

.article-gallery > figure, .article-gallery > figure:nth-child(n){
  flex: 1 1 360px !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 280px !important;
  aspect-ratio: auto !important;
}

.article-gallery > figure:nth-child(4n/**/+1){
  flex-basis: 520px !important;
}

.article-gallery > figure:nth-child(5n){
  flex-basis: 250px !important;
}

@media (min-width:721px) and (max-width:1100px) {
  .article-gallery{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 3px !important;
  }

  .article-gallery > figure, .article-gallery > figure:nth-child(n), .article-gallery > figure:nth-child(4n/**/+1), .article-gallery > figure:nth-child(5n){
    flex: 1 1 calc(50% - 3px) !important;
    width: auto !important;
    max-width: none !important;
    height: 260px !important;
    aspect-ratio: auto !important;
  }
}

@media (max-width:720px) {
  #photography .journal-grid{
    display: block !important;
  }

  #photography .journal-cover, #photography .journal-cover:first-child, #photography .journal-cover:nth-child(n){
    width: 100% !important;
    max-width: 100% !important;
    height: 320px !important;
    margin-bottom: 3px !important;
  }

  #photography .journal-cover:last-child{
    margin-bottom: 0 !important;
  }

  .article-gallery{
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 3px !important;
  }

  .article-gallery > figure, .article-gallery > figure:nth-child(n){
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .article-gallery > figure > img{
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

#projects .project-grid, #experience .experience-grid{
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  gap: 3px !important;
  background: #000 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

#photography .journal-grid{
  gap: 3px !important;
  background: #000 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

#photography .journal-cover{
  margin: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: #000 !important;
}

#photography .journal-cover-image{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

@media (max-width:720px) {
  #projects .project-grid, #experience .experience-grid{
    gap: 3px !important;
    background: #000 !important;
    border: 0 !important;
  }

  #photography .journal-grid{
    background: #000 !important;
    border: 0 !important;
  }
}

#projects .project-grid, #photography .journal-grid, #experience .experience-grid{
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  align-content: flex-start !important;
  gap: 3px !important;
  background: #000 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

#photography .journal-cover{
  position: relative !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: #000 !important;
  aspect-ratio: auto !important;
}

#photography .journal-cover-image{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

#photography .journal-cover::after{
  content: none !important;
  display: none !important;
}

@media (max-width:720px) {
  #projects .project-grid, #photography .journal-grid, #experience .experience-grid{
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 3px !important;
  }

  #photography .journal-cover{
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    flex: 0 0 auto !important;
  }
}

#projects .project-grid, #photography .journal-grid, #experience .experience-grid{
  border-top: 3px solid #000 !important;
  border-bottom: 3px solid #000 !important;
}

#photography .journal-cover-caption, #photography .journal-cover:first-child .journal-cover-caption{
  position: absolute !important;
  left: 26px !important;
  right: 26px !important;
  top: 18px !important;
  bottom: 18px !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

#photography .journal-cover-caption strong, #photography .journal-cover:first-child .journal-cover-caption strong{
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  font-size: clamp(22px,1.75vw,32px) !important;
  line-height: .98 !important;
  letter-spacing: -1.1px !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  text-wrap: balance;
}

#photography .journal-cover-caption small{
  display: block !important;
  margin-top: 10px !important;
  max-width: 100% !important;
  font-size: 10px !important;
  line-height: 1.45 !important;
}

@media (min-width:1101px) {
  #photography .journal-cover-caption, #photography .journal-cover:first-child .journal-cover-caption{
    left: 24px !important;
    right: 20px !important;
    top: 16px !important;
    bottom: 16px !important;
  }
}

@media (min-width:721px) and (max-width:1100px) {
  #photography .journal-cover-caption, #photography .journal-cover:first-child .journal-cover-caption{
    left: 20px !important;
    right: 18px !important;
    top: 15px !important;
    bottom: 15px !important;
  }

  #photography .journal-cover-caption strong, #photography .journal-cover:first-child .journal-cover-caption strong{
    font-size: clamp(20px,2.5vw,29px) !important;
  }
}

@media (max-width:720px) {
  #photography .journal-cover-caption, #photography .journal-cover:first-child .journal-cover-caption{
    left: 7vw !important;
    right: 7vw !important;
    top: 24px !important;
    bottom: 24px !important;
  }

  #photography .journal-cover-caption strong, #photography .journal-cover:first-child .journal-cover-caption strong{
    font-size: clamp(26px,7vw,38px) !important;
    line-height: 1 !important;
  }
}

@media (min-width:721px) {
  .topbar{
    height: 74px !important;
    background: transparent !important;
    align-items: flex-start !important;
    pointer-events: none;
  }

  .topbar .brand{
    height: 74px !important;
    align-self: flex-start !important;
    background: #191919 !important;
    pointer-events: auto;
  }

  .topbar .header-comments-open, .topbar .menu-toggle{
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    align-self: flex-start !important;
    pointer-events: auto;
  }

  .topbar .header-comments-open{
    margin-left: auto !important;
  }

  .topbar .menu-toggle{
    margin-left: 0 !important;
    padding: 9px 24px !important;
  }
}

.overlay-menu .menu-panel{
  background: #fff !important;
  color: #171717 !important;
}

.overlay-menu .menu-close{
  color: #171717 !important;
  background: transparent !important;
}

.overlay-menu .menu{
  border-top-color: rgba(0,0,0,.22) !important;
}

.overlay-menu .menu a{
  color: #171717 !important;
  border-bottom-color: rgba(0,0,0,.22) !important;
}

.overlay-menu .menu-toggle{
  background: var(--accent) !important;
}

.architecture-section{
  display: grid;
  grid-template-columns: 170px minmax(300px,470px) 1fr;
  column-gap: 5vw;
  overflow: hidden;
  padding-bottom: 0 !important;
}

.architecture-copy{
  padding-top: 4px;
  max-width: 820px;
}

.architecture-copy p + p{
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.7;
}

.architecture-gallery{
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 1px;
  margin: 60px -8vw 0;
  background: #fff;
  border-top: 0;
  border-bottom: 0;
}

.architecture-cover{
  position: relative;
  min-width: 0;
  height: 260px;
  overflow: hidden;
  background: #000;
}

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

.architecture-cover-caption{
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
}

.architecture-cover-caption span{
  display: block;
  font-size: 9px;
  letter-spacing: 1.4px;
  margin-bottom: 9px;
}

.architecture-cover-caption strong{
  display: block;
  font-size: clamp(21px,2.1vw,34px);
  line-height: 1.05;
  font-weight: 500;
}

.architecture-cover-caption small{
  display: block;
  max-width: 300px;
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.45;
}

@media (max-width:1100px) {
  .architecture-section{
    grid-template-columns: 110px 1fr;
  }

  .architecture-section .section-heading{
    grid-column: 2;
  }

  .architecture-copy{
    grid-column: 2;
    margin-top: 52px;
  }

  .architecture-gallery{
    grid-template-columns: repeat(2,minmax(0,1fr));
    margin-left: -8vw;
    margin-right: -8vw;
  }

  .architecture-cover{
    height: 230px;
  }

  .architecture-cover-caption{
    left: 18px;
    right: 18px;
    bottom: 20px;
  }
}

@media (max-width:720px) {
  .architecture-section{
    display: block;
  }

  .architecture-copy{
    margin-top: 42px;
  }

  .architecture-gallery{
    grid-template-columns: 1fr;
    gap: 1px;
    margin-left: -7vw;
    margin-right: -7vw;
    margin-top: 32px;
  }

  .architecture-cover{
    height: 430px;
  }

  .architecture-cover-caption{
    left: 7vw;
    right: 7vw;
    bottom: 28px;
  }
}

.architecture-section{
  background: #eceee9 !important;
}

.architecture-gallery{
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 3px !important;
  background: #000 !important;
  border-top: 3px solid #000 !important;
  border-bottom: 3px solid #000 !important;
}

.architecture-cover{
  height: auto !important;
  aspect-ratio: 2 / 3 !important;
  background: #000 !important;
}

@media (max-width:1100px) {
  .architecture-gallery{
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 3px !important;
  }

  .architecture-cover{
    height: auto !important;
    aspect-ratio: 2 / 3 !important;
  }
}

@media (max-width:720px) {
  .architecture-gallery{
    grid-template-columns: 1fr !important;
    gap: 3px !important;
    border-top: 3px solid #000 !important;
    border-bottom: 3px solid #000 !important;
  }

  .architecture-cover{
    height: auto !important;
    aspect-ratio: 2 / 3 !important;
  }
}

:root{
  --section-light: #eceee9;
  --section-dark: #191919;
}

#projects{
  background: var(--section-light) !important;
  color: #171717 !important;
}

#photography{
  background: var(--section-dark) !important;
  color: #fff !important;
}

#architecture{
  background: var(--section-light) !important;
  color: #171717 !important;
}

#experience{
  background: var(--section-dark) !important;
  color: #fff !important;
}

#photography .section-index strong{
  color: rgba(255,255,255,.30) !important;
}

#photography .section-index span{
  color: #fff !important;
}

#photography .section-heading h2{
  color: #fff !important;
}

#photography .photography-copy, #photography .photography-copy p{
  color: #fff !important;
}

#photography .journal-filters button{
  color: #fff !important;
}

#photography .journal-filters span{
  color: rgba(255,255,255,.45) !important;
}

#architecture .section-index strong{
  color: #d1d3ce !important;
}

#architecture .section-index span{
  color: #171717 !important;
}

#architecture .section-heading h2{
  color: #171717 !important;
}

#architecture .architecture-copy, #architecture .architecture-copy p{
  color: #171717 !important;
}

#architecture .architecture-gallery{
  gap: 3px !important;
  background: #000 !important;
  border-top: 3px solid #000 !important;
  border-bottom: 3px solid #000 !important;
}

#architecture .architecture-cover{
  background: #000 !important;
}

#projects .project-grid, #experience .experience-grid{
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 3px !important;
  margin-left: -8vw !important;
  margin-right: -8vw !important;
  background: #000 !important;
  border-top: 3px solid #000 !important;
  border-bottom: 3px solid #000 !important;
}

@media (max-width:1100px) {
  #projects .project-grid, #experience .experience-grid{
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    margin-left: -8vw !important;
    margin-right: -8vw !important;
  }
}

@media (max-width:720px) {
  #projects .project-grid, #experience .experience-grid{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 3px !important;
    margin-left: -7vw !important;
    margin-right: -7vw !important;
    border-top: 3px solid #000 !important;
    border-bottom: 3px solid #000 !important;
  }
}

#photography .journal-grid{
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  align-items: start !important;
  gap: 3px !important;
  background: #000 !important;
}

#photography .journal-cover, #photography .journal-cover:first-child, #photography .journal-cover:nth-child(n){
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  flex: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
  aspect-ratio: 2 / 3 !important;
  overflow: hidden !important;
}

#photography .journal-cover-image, #photography .journal-cover img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

@media (min-width:721px) and (max-width:1100px) {
  #photography .journal-grid{
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }

  #photography .journal-cover, #photography .journal-cover:first-child, #photography .journal-cover:nth-child(n){
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 2 / 3 !important;
    margin: 0 !important;
  }
}

@media (max-width:720px) {
  #photography .journal-grid{
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  #photography .journal-cover, #photography .journal-cover:first-child, #photography .journal-cover:nth-child(n){
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 2 / 3 !important;
    margin: 0 !important;
  }
}

#architecture .architecture-cover{
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 2 / 3 !important;
}

#projects .project-grid, #architecture .architecture-gallery{
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 3px !important;
  margin-left: -8vw !important;
  margin-right: -8vw !important;
  background: #000 !important;
  border-top: 3px solid #000 !important;
  border-bottom: 3px solid #000 !important;
}

@media (max-width:1100px) {
  #projects .project-grid, #architecture .architecture-gallery{
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
}

@media (max-width:720px) {
  #projects .project-grid, #architecture .architecture-gallery{
    grid-template-columns: 1fr !important;
    margin-left: -7vw !important;
    margin-right: -7vw !important;
  }
}

#architecture .architecture-cover{
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 2.45 / 1 !important;
  cursor: zoom-in !important;
}

#architecture .architecture-cover img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transition: transform .45s ease, opacity .45s ease !important;
}

#architecture .architecture-cover:hover img{
  transform: scale(1.018) !important;
  opacity: .94 !important;
}

#architecture .architecture-cover-caption{
  transition: transform .3s ease, opacity .3s ease !important;
}

#architecture .architecture-cover:hover .architecture-cover-caption{
  transform: translateY(-3px) !important;
}

@media (max-width:1100px) {
  #architecture .architecture-cover{
    aspect-ratio: 2.45 / 1 !important;
  }
}

@media (max-width:720px) {
  #architecture .architecture-cover{
    aspect-ratio: 2.45 / 1 !important;
  }
}

#architecture .architecture-cover{
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 2 / 3 !important;
  cursor: zoom-in !important;
}

#architecture .architecture-cover img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

@media (max-width:1100px) {
  #architecture .architecture-cover{
    aspect-ratio: 2 / 3 !important;
  }
}

@media (max-width:720px) {
  #architecture .architecture-cover{
    aspect-ratio: 2 / 3 !important;
  }
}

#photography .journal-cover-caption, #photography .journal-cover:first-child .journal-cover-caption{
  position: absolute !important;
  z-index: 2 !important;
  left: 24px !important;
  right: 24px !important;
  top: auto !important;
  bottom: 24px !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  overflow: visible !important;
  color: #fff !important;
  text-shadow: 0 1px 10px rgba(0,0,0,.5) !important;
}

#photography .journal-cover-caption span, #photography .journal-cover:first-child .journal-cover-caption span{
  display: block !important;
  font-size: 9px !important;
  line-height: 1.2 !important;
  letter-spacing: 1.4px !important;
  margin: 0 0 9px !important;
  padding: 0 !important;
}

#photography .journal-cover-caption strong, #photography .journal-cover:first-child .journal-cover-caption strong{
  display: block !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: clamp(21px,2.1vw,34px) !important;
  line-height: 1.05 !important;
  letter-spacing: normal !important;
  font-weight: 500 !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  text-wrap: initial !important;
}

#photography .journal-cover-caption small, #photography .journal-cover:first-child .journal-cover-caption small{
  display: block !important;
  max-width: 300px !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
}

@media (max-width:1100px) {
  #photography .journal-cover-caption, #photography .journal-cover:first-child .journal-cover-caption{
    left: 18px !important;
    right: 18px !important;
    bottom: 20px !important;
  }
}

@media (max-width:720px) {
  #photography .journal-cover-caption, #photography .journal-cover:first-child .journal-cover-caption{
    left: 7vw !important;
    right: 7vw !important;
    bottom: 28px !important;
  }

  #photography .journal-cover-caption strong, #photography .journal-cover:first-child .journal-cover-caption strong{
    font-size: clamp(21px,6vw,34px) !important;
  }
}

#photography .journal-filters button{
  font-family: inherit !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.brand, .brand a, .brand-text{
  font-family: inherit !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
}

.header-comments-open{
  font-weight: 300 !important;
}

#photography .journal-filters button{
  font-size: 12px !important;
}

#photography .journal-filters button.active, #photography .journal-filters button[aria-pressed="true"]{
  color: #2f8f4e !important;
}

#photography .journal-filters button.active, #photography .journal-filters button[aria-pressed="true"]{
  color: var(--accent) !important;
}

.header-comments-open{
  font-weight: 700 !important;
}

.lightbox-caption, .lightbox-counter, .lightbox-arrow{
  display: none !important;
}

.lightbox-image{
  cursor: pointer !important;
}

@media (max-width:720px) {
  .article-panel-body .article-gallery{
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100vw !important;
    max-width: none !important;
    margin: 60px 0 -90px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    overflow: hidden !important;
  }

  .article-panel-body .article-gallery > figure, .article-panel-body .article-gallery > figure:nth-child(n){
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .article-panel-body .article-gallery > figure > img{
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    object-fit: contain !important;
  }
}

.three-d-section{
  display: grid;
  grid-template-columns: 170px minmax(300px,470px) 1fr;
  column-gap: 5vw;
  padding-bottom: 0 !important;
}

.three-d-copy{
  padding-top: 4px;
}

.three-d-grid{
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 3px;
  margin: 60px -8vw 0;
  background: #000;
  border-top: 3px solid #000;
  border-left: 3px solid #000;
  border-right: 3px solid #000;
  border-bottom: 3px solid #000;
}

.three-d-cover{
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  cursor: pointer;
  background: #111;
  color: #fff;
}

.three-d-cover-image{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease,opacity .5s ease;
}

.three-d-cover::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,rgba(0,0,0,.72),rgba(0,0,0,.04) 68%);
}

.three-d-cover:hover .three-d-cover-image{
  transform: scale(1.015);
  opacity: .94;
}

.three-d-cover-caption{
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.three-d-cover-caption span{
  display: block;
  margin-bottom: 9px;
  font-size: 8px;
  letter-spacing: 1.45px;
}

.three-d-cover-caption strong{
  display: block;
  font-size: clamp(22px,2vw,34px);
  line-height: 1.02;
  letter-spacing: -1px;
}

.three-d-cover-caption small{
  display: block;
  margin-top: 10px;
  font-size: 10px;
  line-height: 1.4;
}

.three-d-cover:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.three-d-article-gallery{
  background: #fff;
}

@media (max-width:1100px) {
  .three-d-section{
    grid-template-columns: 110px 1fr;
  }

  .three-d-section .section-heading{
    grid-column: 2;
  }

  .three-d-copy{
    grid-column: 2;
    margin-top: 52px;
  }

  .three-d-grid{
    grid-template-columns: repeat(2,minmax(0,1fr));
    margin-left: -8vw;
    margin-right: -8vw;
  }
}

@media (max-width:720px) {
  .three-d-section{
    display: block;
  }

  .three-d-copy{
    margin-top: 42px;
  }

  .three-d-grid{
    grid-template-columns: 1fr;
    margin: 32px -7vw 0;
  }

  .three-d-cover{
    width: 100%;
    aspect-ratio: 2 / 3;
  }

  .three-d-cover-caption{
    left: 7vw;
    right: 7vw;
    bottom: 28px;
  }

  .three-d-cover-caption strong{
    font-size: clamp(28px,8vw,42px);
  }
}

#projects .project-grid, #three-d .three-d-grid, #photography .journal-grid.journal-horizontal, #experience .experience-grid, #architecture .architecture-gallery{
  display: flex !important;
  flex-flow: row nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  gap: 3px !important;
  background: #000 !important;
  border: 3px solid #000 !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  user-select: none;
  -webkit-user-select: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

#projects .project-grid::-webkit-scrollbar, #three-d .three-d-grid::-webkit-scrollbar, #photography .journal-grid.journal-horizontal::-webkit-scrollbar, #experience .experience-grid::-webkit-scrollbar, #architecture .architecture-gallery::-webkit-scrollbar{
  display: none;
}

#three-d .three-d-cover, #architecture .architecture-cover{
  flex: 0 0 calc((100% - 9px) / 4) !important;
  min-width: 0 !important;
}

#photography .journal-grid.journal-horizontal{
  position: relative !important;
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

#photography .journal-grid.journal-horizontal > .journal-cover{
  display: block;
  flex: 0 0 calc((100vw - 15px) / 4) !important;
  width: calc((100vw - 15px) / 4) !important;
  min-width: calc((100vw - 15px) / 4) !important;
  max-width: calc((100vw - 15px) / 4) !important;
  height: auto !important;
  aspect-ratio: 2 / 3 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

#photography .journal-grid.journal-horizontal > .journal-cover[hidden]{
  display: none !important;
}

#three-d .three-d-cover, #three-d .three-d-cover img, #photography .journal-cover, #photography .journal-cover img, #architecture .architecture-cover, #architecture .architecture-cover img{
  pointer-events: auto !important;
}

@media (hover: hover) and (pointer: fine) {
  #projects .project-grid, #three-d .three-d-grid, #photography .journal-grid.journal-horizontal, #experience .experience-grid, #architecture .architecture-gallery{
    cursor: grab;
  }

  #projects .project-grid.is-dragging, #three-d .three-d-grid.is-dragging, #photography .journal-grid.journal-horizontal.is-dragging, #experience .experience-grid.is-dragging, #architecture .architecture-gallery.is-dragging{
    cursor: grabbing;
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  #three-d .three-d-cover, #architecture .architecture-cover{
    flex-basis: calc((100% - 3px) / 2) !important;
  }

  #photography .journal-grid.journal-horizontal > .journal-cover{
    flex: 0 0 calc((100vw - 9px) / 2) !important;
    width: calc((100vw - 9px) / 2) !important;
    min-width: calc((100vw - 9px) / 2) !important;
    max-width: calc((100vw - 9px) / 2) !important;
  }
}

@media (max-width: 720px) {
  #three-d .three-d-cover, #architecture .architecture-cover{
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  #photography .journal-grid.journal-horizontal > .journal-cover{
    flex: 0 0 calc(100vw - 6px) !important;
    width: calc(100vw - 6px) !important;
    min-width: calc(100vw - 6px) !important;
    max-width: calc(100vw - 6px) !important;
  }
}


/* Gallery cards — Sections 01 and 04 */
#projects .project-card,
#projects .project-card.wide,
#experience .experience-card {
  position: relative !important;
  overflow: hidden !important;
  margin: 0 !important;
  background: #111 !important;
  cursor: zoom-in;
}

#projects .project-card img,
#experience .experience-card img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .65s ease, opacity .45s ease;
}

#projects .project-card figcaption,
#experience .experience-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 50px 20px 17px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #fff;
  opacity: 0;
  transform: translateY(9px);
  transition: .3s ease;
  pointer-events: none;
}

#projects .project-card figcaption strong,
#experience .experience-card figcaption strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

#projects .project-card figcaption span,
#experience .experience-card figcaption span {
  display: block;
  margin-top: 3px;
  font-size: 8px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  opacity: .72;
}

@media (hover:hover) and (pointer:fine) {
  #projects .project-card:hover img,
  #experience .experience-card:hover img {
    transform: scale(1.025);
    opacity: .9;
  }

  #projects .project-card:hover figcaption,
  #experience .experience-card:hover figcaption {
    opacity: 1;
    transform: none;
  }
}

@media (max-width:720px) {
  #projects .project-card img,
  #experience .experience-card img {
    height: auto !important;
    object-fit: contain !important;
  }

  #projects .project-card figcaption,
  #experience .experience-card figcaption {
    opacity: 1;
    transform: none;
  }
}


/* Horizontal sizing — Sections 01 and 04 */
#projects .project-grid .project-card,
#projects .project-grid .project-card.wide,
#experience .experience-grid .experience-card {
  flex: 0 0 360px !important;
  width: 360px !important;
  min-width: 360px !important;
  height: 260px !important;
  grid-column: auto !important;
  grid-row: auto !important;
  aspect-ratio: auto !important;
}

@media (min-width:721px) and (max-width:1100px) {
  #projects .project-grid .project-card,
  #projects .project-grid .project-card.wide,
  #experience .experience-grid .experience-card {
    flex-basis: 320px !important;
    width: 320px !important;
    min-width: 320px !important;
    height: 230px !important;
  }
}

@media (max-width:720px) {
  #projects .project-grid .project-card,
  #projects .project-grid .project-card.wide,
  #experience .experience-grid .experience-card {
    flex: 0 0 86vw !important;
    width: 86vw !important;
    min-width: 86vw !important;
    height: auto !important;
  }
}


/* Header — 3 px between Comments and Menu */
.topbar .menu-toggle {
  margin-left: 3px !important;
}


/* Header — exact 3 px gap between COMMENTS and menu */
@media (min-width:721px) {
  .topbar .header-comments-open {
    margin-left: auto !important;
    margin-right: 3px !important;
    border-right: 0 !important;
  }

  .topbar .menu-toggle {
    margin-left: 0 !important;
  }
}


/* Header — COMMENTS exactly 3 px from menu */
.topbar .header-comments-open {
  position: absolute !important;
  right: 77px !important; /* 74 px menu + 3 px gap */
  margin: 0 !important;
}

.topbar .menu-toggle {
  position: absolute !important;
  right: 0 !important;
  margin: 0 !important;
}

@media (max-width:720px) {
  .topbar .header-comments-open {
    right: 69px !important; /* 66 px menu + 3 px gap */
  }
}

/* Logo subtitle — width aligned to NELSON MARTINS only */
.brand-text small{
  display:block;
  width:max-content;
  font-size:9px !important;
  letter-spacing:1.45px !important;
  white-space:nowrap;
}

@media (max-width:720px){
  .brand-text small{
    font-size:6px !important;
    letter-spacing:1.05px !important;
  }
}

/* Mobile — galleries 01 & 04: fill each card completely */
@media (max-width:720px) {
  #projects .project-grid,
  #experience .experience-grid {
    align-items: stretch !important;
  }

  #projects .project-grid .project-card,
  #projects .project-grid .project-card.wide,
  #experience .experience-grid .experience-card {
    flex: 0 0 86vw !important;
    width: 86vw !important;
    min-width: 86vw !important;
    height: 112vw !important;
    max-height: 430px !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    background: #111 !important;
  }

  #projects .project-grid .project-card img,
  #projects .project-grid .project-card.wide img,
  #experience .experience-grid .experience-card img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: scale(1.025);
    transform-origin: center center;
  }
}


/* iPhone / mobile — true viewport width, including safe-area edges */
@media (max-width:720px) {
  html,
  body {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    background: #111 !important;
  }

  body,
  .topbar,
  main,
  .hero,
  footer {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  .topbar {
    left: 0 !important;
    right: 0 !important;
  }

  main,
  .section,
  #projects,
  #three-d,
  #photography,
  #experience,
  #architecture {
    max-width: none !important;
    box-sizing: border-box !important;
  }

  #projects .project-grid,
  #three-d .three-d-grid,
  #photography .journal-grid.journal-horizontal,
  #experience .experience-grid,
  #architecture .architecture-gallery {
    position: relative !important;
    left: 50% !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box !important;
  }
}

@supports (width: 100dvw) {
  @media (max-width:720px) {
    body,
    .topbar,
    main,
    .hero,
    footer,
    #projects .project-grid,
    #three-d .three-d-grid,
    #photography .journal-grid.journal-horizontal,
    #experience .experience-grid,
    #architecture .architecture-gallery {
      width: 100dvw !important;
      min-width: 100dvw !important;
      max-width: 100dvw !important;
    }
  }
}

/* Mobile — magnetic horizontal snap, one cover at a time */
@media (max-width:720px) {
  #projects .project-grid,
  #three-d .three-d-grid,
  #photography .journal-grid.journal-horizontal,
  #experience .experience-grid,
  #architecture .architecture-gallery {
    scroll-snap-type: x mandatory !important;
    scroll-padding-left: 0 !important;
    scroll-padding-right: 0 !important;
    overscroll-behavior-x: contain !important;
    -webkit-overflow-scrolling: touch;
  }

  #projects .project-grid > .project-card,
  #projects .project-grid > .project-card.wide,
  #three-d .three-d-grid > .three-d-cover,
  #photography .journal-grid.journal-horizontal > .journal-cover,
  #experience .experience-grid > .experience-card,
  #architecture .architecture-gallery > .architecture-cover {
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
  }
}
