@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Rock+Salt&family=Syne:wght@400..800&display=swap');

/* MISC */

::selection {
  background:red;
  color:white;
  border-radius:2px;
}

#four-o-four {
  padding: clamp(20px, 5vw, 75px);
}

body {
  max-width: 100%;
  margin:auto;
  font-family:Geist;
  font-weight:600;
  color:white;
  background-color:#212121;
  opacity:1;
  transition:opacity 0.4s ease;
  cursor:none;
}

body.fade-out {
  opacity:0;
}

body::-webkit-scrollbar {
  display: none;
}

p {
  font-size:28px;
  font-weight:400;
  letter-spacing: -2px;
  font-variation-settings: "wght" 400;
  transition:0.3s;
  /*&:hover {
    font-variation-settings: "wght" 700;
    transition:0.3s;
  }*/
}

a {
  cursor:none;
  text-decoration:none;
  color:white;
  font-variation-settings: "wght" 400;
  transition:0.3s;
  &:hover {
    font-variation-settings: "wght" 700;
    transition:0.3s;
  }
}

#error-msg {
  color:red;
}

#error-button {
  display:block;
  color:white;
  text-decoration:underline 2px rgba(255,255,255,0);
  transition: 300ms;
  text-underline-offset: 0.2em;
  font-size:18px;
  font-weight:400;
}

/* MISC */

/* NAVBAR */

.navbar-wrapper {
  position:fixed;
  top:0;
  width:100%;
  border-bottom:2px solid white;
  z-index:999;
  background-color:#212121;
}

.navbar {
  color:white;
  margin:0 auto;
  padding:30px;
  max-width:1255px;
}

#logo {
  margin:0;
  font-size:28px;
  display:inline;
  font-weight:700;
  &:hover {
    font-variation-settings: "wght" 700;
    transition:0.3s;
    color:red;
  }
}

.nav-button {
  float:right;
  color:white;
  text-decoration:underline 2px rgba(255,255,255,0);
  transition: 300ms;
  text-underline-offset: 0.2em;
  font-size:18px;
  padding-top:5px;
  padding-left:5px;
  padding-right:5px;
  font-weight:400;
}

.nav-button:hover {
  color:red;
}

/* NAVBAR */

/* FOOTER */

.footer-wrapper {
  width:100%;
  background-color:#ffffff;
}

.footer {
  color:#212121;
  margin:auto;
  padding:clamp(100px, 20vw, 250px) clamp(20px, 5vw, 75px) clamp(100px, 20vw, 250px) clamp(20px, 5vw, 75px);
  max-width:1255px;
}

.footer-button {
  color:#212121;
  text-decoration:underline 2px rgba(255,255,255,0);
  transition: 300ms;
  text-underline-offset: 0.2em;
  font-size:18px;
  font-weight:400;
}

.footer-button:hover {
  color:red;
}

.footer > .blurb {
  padding-bottom:10px;
}

/* FOOTER */

/* TEXT */

.hero-text {
  user-select: none;
  margin-top:225px;
  margin-bottom:100px;
  padding:0;
  letter-spacing:-12px;
  font-size:180px;
  line-height:140px;
  font-weight:700;
  transition:0.3s;
  clip-path: inset(1% 0 1% 0); /* top right bottom left */
  font-variation-settings: "wght" 700;
  &:hover {
    font-variation-settings: "wght" 900;
    transition:0.3s;
  }
}

.email {
  &:hover {
    color:red;
  }
}

.blurb {
  font-size:35px;
  margin:0;
}

.project-text {
  font-size:21px;
  letter-spacing:-1px;
  margin:0;
}

.project-text-head {
  font-size:35px;
  letter-spacing:-1px;
  margin:0;
}

.list-item {
  font-size:80px;
  font-weight:900;
  margin:0;
  padding-bottom:clamp(10px,2vw,30px);
  font-variation-settings: "wght" 700;
  font-style:italic;
  transition:0.3s;
}

.sub-info {
  margin:0;
}

.section-heading {
  display:inline;
  &:hover {
    font-variation-settings: "wght" 700;
    transition:0.3s;
  }
}

#smiley {
}

/* TEXT */

/* LAYOUT */

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  user-select: none;
  float: right;
  color: white;
  padding-top: 5px;
  padding-left: 10px;
}

.project-content {
  width:100%;
  display:block;
}

.section-header-div {
  padding-bottom:20px;
}

.gallery_thumbnail {
  border-radius:20px;
}

.gallery-work {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.gallery-work > div {
  width: 50%;
  box-sizing: border-box;
}

.gallery-work div:nth-child(even) {
  padding-left: 10px;
}

.gallery-work div:nth-child(odd) {
  padding-right: 10px;
}

.gallery_thumbnail {
  max-width:100%;
  display:block;
  margin:auto;
  margin-bottom:10vw;
  margin-bottom:clamp(20px, 10vw, 25px);
  transition:0.3s;
  &:hover {
    transform:scale(1.025);
    transition:0.3s;
  }
}

.project_title {
  color: white;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -1px;
  padding-bottom:0;
  margin-bottom:0;
  margin-top:0;
}

.project_tags {
  color: #a1a1a1;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -1px;
  padding-top:0;
  margin-top:0;
  margin-bottom:clamp(30px, 3vw, 40px);
}

.project_year {
  color:red;
}

.body-home {
    display: grid;
    grid-template-areas:
      "hero hero"
      "intro-left intro-right"
      "gallery gallery"
      "about about";
    grid-template-columns: 1fr 3fr;
    background-color: #212121;
    max-width: 1400px;
    margin:auto;
  }

  .body-home > div {
    padding: clamp(20px, 5vw, 75px);
  }

  .body-home > div.intro-left {
    grid-area: intro-left;
  }

  .body-home > div.intro-right {
    grid-area: intro-right;
  }

   .body-home > div.about {
    grid-area: about;
  }

  .body-home > div.gallery {
    grid-area: gallery;
  }

  .body-home > div.hero {
    grid-area: hero;
  }

  .body-about {
    display: grid;
    grid-template-areas:
      "hero hero"
      "about about"
      "strengths-left strengths-right";
    grid-template-columns: 1fr 3fr;
    background-color: #212121;
    max-width: 1400px;
    margin:auto;
  }

  .body-about > div {
    padding: clamp(20px, 5vw, 75px);
  }

  .body-about > div.strengths-left {
    grid-area: strengths-left;
  }

  .body-about > div.strengths-right {
    grid-area: strengths-right;
  }

   .body-about > div.about {
    grid-area: about;
  }

  .body-about > div.hero {
    grid-area: hero;
  }

  .body-project {
    display: grid;
    grid-template-areas:
      "hero"
      "content";
    grid-template-columns: 1fr;
    background-color: #212121;
    max-width: 1400px;
    margin:auto;
  }

  .body-project > div {
  }

  .body-project > div.content {
    grid-area: content;
    padding: clamp(20px, 5vw, 75px);
  }

  .body-project > div.hero {
    grid-area: hero;
    padding: clamp(20px, 5vw, 75px);
  }

  /* LAYOUT */

/* MEDIA QUERIES */

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

  .project-grid {
    gap:30px;
  }

  .block.medium {
  grid-column: span 12;
}

.block.small {
  grid-column: span 6;
}
  
  .hero-text {
    font-size:150px;
    line-height:115px;
    font-weight:700;
    clip-path: inset(1% 0 1% 0);
  }

  .breathe-animation {
      padding-top:150px;
    }

    .breathe-animation span {
      font-family: 'Geist';
      line-height:105px;
      letter-spacing:-12px;
      font-size: clamp(112.5px, 135px, 150px);
      color: white;
      animation: letter-breathe 3s ease-in-out infinite;
  }

  .list-item {
    font-size:60px;
    padding-bottom:2.5vw;
    font-weight:900;
    margin:0;
}

}

/* SMALL SIZE */
@media (max-width: 770px) {

  .project-grid {
    gap:20px;
  }

.block.small {
  grid-column: span 12;
}

  .hamburger {
    color:white;
    display: block;
    padding:0;
  }

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* allows nav-buttons to wrap on a new line */
  padding: 30px 30px;
}

/* Make logo and hamburger stay on top row */
#logo {
  margin: 0;
}

/* Position nav-buttons below (shown on hamburger click) */
.nav-button {
  width: 100%;
  text-align: center;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  font-size: 20px;
  transition: opacity 1s ease, max-height 0.5s ease, padding 0.5s ease;
}

/* Reveal on hamburger click */
.navbar.active .nav-button {
  opacity: 1;
  max-height: 60px;
  padding-top: 25px;
}

  .blurb {
    font-size:25px;
  }

  .sub-info {
    font-size:25px;
  }

  #custom-cursor {
    display:none;
  }

  .hero-text {
    font-size:70px;
    line-height:60px;
    letter-spacing: -6px;
    font-weight:700;
    clip-path: none;
  }

  .body-home {
    display: grid;
    grid-template-areas:
      "hero" 
      "intro-left"
      "intro-right"
      "gallery"
      "about";
    grid-template-columns: 1fr;
    background-color: #212121;
    max-width: 1400px;
    margin:auto;
  }

  .footer-button {
    font-size:14px;
  }

  .list-item {
      font-size:40px;
      padding-bottom:2.5vw;
      font-weight:900;
      margin:0;
  }

  .gallery-work div {
  width: 100%;
  box-sizing: border-box;
}

.gallery-work div:nth-child(even) {
  padding-left: 0px;
}

.gallery-work div:nth-child(odd) {
  padding-right: 0px;
}

}

/* MEDIA QUERIES */

/* CURSOR */

#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 9999;
  mix-blend-mode: difference;
}

#custom-cursor.enlarge {
  transform: translate(-50%, -50%) scale(3);
}

/* CURSOR */

/* NEW PROJECT PAGE UPDATE 13/2/2026 */

.project {
  display:grid;
  grid-template-columns: repeat(8, 1fr);
  max-width:1400px;
  padding-left: clamp(20px, 5vw, 75px);
  padding-right: clamp(20px, 5vw, 75px);
  padding-bottom: clamp(20px, 5vw, 75px);
}

.module {
  width: 100%;
}

.module.carousel {
  grid-column:span 8;
  overflow:hidden;
}

.module.divider {
  height:10px;
  background-color:white;
  grid-column:span 8;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-right:30%;
}

.carousel-track img {
  width: 70%;
  height: auto;
  flex-shrink: 0;
  scroll-snap-align: start;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.module.text {
  margin:0;
}

.module.text-medium {
  margin:0;
  width:90%;
  padding:25px 25px 0px 25px;
  display:flex;
  align-items: center;
}

.module.spacer {
  min-height:50px;
}

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

/* Full width */
.large,
.text,
.spacer {
  grid-column: span 8;
}

/* 50% desktop */
.medium,
.text-medium {
  grid-column: span 4;
}

/* 33% desktop */
.small {
  grid-column: span 2;
}

@media (max-width: 1100px) {
  .medium,
  .small {
    grid-column: span 4;
  }
}

@media (max-width: 770px) {
  .carousel-track {
    padding-right:10%;
  }

  .medium,
  .text-medium,
  .small {
    grid-column: span 8;
  }
}

/* NEW PROJECT PAGE UPDATE 13/2/2026 */