@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


:root{
  --sidebar: 250px;
  --black: #090909;
  --white: #f8f7f3;
  --ochre: #c59b32;
  --gap: clamp(18px, 2.2vw, 38px);
}


*{
  box-sizing:border-box;
}


html{
  scroll-behavior:auto;
}


body{
  margin:0;
  background:var(--black);
  color:#fff;
  font-family:Inter, Montserrat, sans-serif;
  font-weight:500;
  letter-spacing:.08em;
}


body.no-scroll{
  overflow:hidden;
}


/* =========================
   SIDEBAR
========================= */

.sidebar{
  position:fixed;
  inset:0 auto 0 0;
  width:var(--sidebar);
  padding:83px 18px;
  background:#090909;
  z-index:50;
  display:flex;
  flex-direction:column;
}


.brand{
  color:#fff;
  text-decoration:none;
  font-size:18px;
  letter-spacing:.28em;
  margin:0 0 32px 1px;
}


nav{
  display:flex;
  flex-direction:column;
  gap:12px;
}


nav a{
  color:#eee;
  text-decoration:none;
  font-size:10px;
  letter-spacing:.11em;
  line-height:1.2;
  position:relative;
  padding-left:0;
  transition:none;
}


nav a.active{
  color:var(--ochre);
}


nav a.active::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:3px;
  height:9px;
  transform:translateY(-50%);
  background:var(--ochre);
}


/* =========================
   SIDEBAR ICONS
========================= */

.sidebar-links{
  display:flex;
  gap:12px;
  margin-top:auto;
}


.icon-link{
  color:#fff;
  text-decoration:none;
  letter-spacing:0;

  width:16px;
  height:16px;

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

  font-size:13px;
  line-height:1;
}


.icon-link .fa-instagram{
  font-size:13px;
  line-height:1;
}


.icon-link.email-icon{
  font-size:13px;
  line-height:1;
}


/* =========================
   MAIN
========================= */

main{
  margin-left:var(--sidebar);
}


.section{
  min-height:100vh;
  position:relative;
}


.black-section,
.home-section,
.about-section{
  background:var(--black);
}


/* =========================
   HOME
========================= */

.home-section{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:7vh 5vw;
}


.hero-wrap{
  width:min(76vw, 1220px);
  height:min(82vh, 820px);

  display:flex;
  align-items:center;
  justify-content:center;
}


.hero-wrap img{
  width:100%;
  height:100%;
  object-fit:contain;
}


/* =========================
   HORIZONTAL GALLERIES
========================= */

.horizontal-section{
  height:100vh;
  min-height:560px;

  overflow:hidden;

  display:flex;
  align-items:center;
}


.gallery-track{
  width:100%;

  display:flex;
  align-items:center;

  gap:10px;
}


.gallery-window{
  overflow:hidden;
  flex:1;
}


.gallery-row{
  display:flex;
  align-items:center;
  gap:14px;

  width:max-content;

  transform:translateX(0);
  transition:transform .05s linear;
}


/*
   IMPORTANT:
   Photos keep their original aspect ratio.
   Every image is displayed at 700px height.
*/

.gallery-item{
  border:0;
  padding:0;
  margin:0;

  background:none;

  cursor:pointer;

  height:700px;
  width:auto;

  flex:0 0 auto;

  display:block;
}


.gallery-item img{
  display:block;

  height:700px;
  width:auto;

  max-width:none;

  object-fit:contain;
}


/* =========================
   GALLERY ARROWS
========================= */

.gallery-arrow{
  flex:0 0 30px;

  border:0;
  background:transparent;

  color:#ddd;

  font-size:25px;

  cursor:pointer;

  padding:10px 0;

  z-index:2;
}


.gallery-arrow:hover{
  color:#fff;
}


/* =========================
   GRAPHIC ART
========================= */

.graphic-section{
  background:var(--white);
  color:#111;

  min-height:100vh;

  padding:8vh 7vw 10vh;
}


.graphic-grid{
  display:grid;

  grid-template-columns:
    repeat(2,minmax(0,1fr));

  column-gap:
    clamp(10px,8vw,20px);

  row-gap:
    clamp(10px,8vw,40px);

  max-width:3000px;

  margin:0 auto;

  align-items:start;
}


.graphic-item{
  border:0;
  padding:0;

  background:none;

  cursor:pointer;

  width:100%;
}


.graphic-item img{
  display:block;

  width:100%;
  height:auto;

  aspect-ratio:1.12/1;

  object-fit:contain;
}


.graphic-section .gallery-arrow{
  color:#111;
}


/* =========================
   ABOUT
========================= */

.about-section{
  min-height:100vh;

  display:flex;

  justify-content:center;
  align-items:center;

  padding:10vh 8vw;
}


.about-inner{
  width:min(760px,100%);

  text-align:center;
}


.about-photo{
  display:block;

  width:min(400px,70vw);

  aspect-ratio:3/2;

  object-fit:cover;

  margin:0 auto 42px;
}


.about-copy{
  max-width:400px;

  margin:0 auto;
}


.bio{
  margin:0 auto 30px;

  font-size:11px;

  line-height:1.9;

  letter-spacing:.035em;

  text-align:justify;
}


.contact{
  display:flex;

  justify-content:center;

  gap:28px;

  font-size:10px;

  letter-spacing:.08em;
}


.contact a{
  color:#fff;

  text-decoration:none;
}


/* =========================
   MOBILE BUTTON
========================= */

.mobile-toggle{
  display:none;
}


/* =========================
   LIGHTBOX
========================= */

.lightbox{
  position:fixed;

  inset:0;

  background:rgba(0,0,0,.97);

  z-index:100;

  display:none;

  align-items:center;
  justify-content:center;

  padding:5vh 8vw;
}


.lightbox.open{
  display:flex;
}


.lightbox img{
  max-width:90vw;
  max-height:90vh;

  width:auto;
  height:auto;

  object-fit:contain;
}


.lightbox button{
  position:absolute;

  border:0;

  background:transparent;

  color:#fff;

  cursor:pointer;

  font-size:36px;

  font-weight:300;
}


.lightbox-close{
  top:20px;
  right:30px;
}


.lightbox-prev{
  left:24px;
  top:50%;

  transform:translateY(-50%);
}


.lightbox-next{
  right:24px;
  top:50%;

  transform:translateY(-50%);
}


/* =========================
   MOBILE
========================= */

@media (max-width:760px){

  :root{
    --sidebar:0px;
  }


  .sidebar{
    width:260px;

    transform:translateX(-100%);

    transition:transform .2s linear;

    border-right:
      1px solid rgba(255,255,255,.1);
  }


  .sidebar.open{
    transform:translateX(0);
  }


  .mobile-toggle{
    display:block;

    position:fixed;

    top:15px;
    right:16px;

    z-index:70;

    background:#090909;

    color:#fff;

    border:
      1px solid rgba(255,255,255,.2);

    width:40px;
    height:36px;

    font-size:18px;
  }


  main{
    margin-left:0;
  }


  /* HOME */

  .home-section{
    padding:70px 24px 30px;
  }


  .hero-wrap{
    width:100%;
    height:78vh;
  }


  /* HORIZONTAL GALLERIES */

  .horizontal-section{
    min-height:0;

    height:auto;

    padding:72px 0 50px;
  }


  .gallery-track{
    gap:3px;
  }


  .gallery-window{
    overflow:hidden;
  }


  .gallery-row{
    gap:8px;
  }


  .gallery-item{
    width:auto;
    height:58vh;
  }


  .gallery-item img{
    width:auto;
    height:58vh;

    max-width:none;

    object-fit:contain;
  }


  .gallery-arrow{
    flex-basis:24px;

    font-size:22px;
  }


  /* GRAPHIC ART */

  .graphic-section{
    padding:80px 24px;
  }


  .graphic-grid{
    column-gap:28px;
    row-gap:55px;
  }


  /* ABOUT */

  .about-section{
    padding:90px 30px;
  }


  .about-photo{
    width:min(290px,82vw);

    margin-bottom:34px;
  }


  .bio{
    font-size:10px;

    line-height:1.85;
  }


  .contact{
    flex-direction:column;

    gap:13px;
  }

}