@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Instrument+Serif:ital@0;1&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');


:root {
  --background: #403d3f;
  --background-dark: #302e30;

  --white: #f3f1ed;
  --muted: #aaa5a7;

  --green: #9fc55a;
  --purple: #9c63a3;
  --yellow: #d4c45b;
  --red: #d94b68;

  --border: rgba(243, 241, 237, 0.18);

  --sans: "Space Grotesk", sans-serif;
  --mono: "DM Mono", monospace;
}


/* RESET */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--white);

  font-family: var(--sans);

  overflow-x: hidden;
}

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

img {
  max-width: 100%;
}

/*contact*/
.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.contact-links a {
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.contact-links a:hover {
  opacity: 0.6;
  transform: translateX(6px);
}

.linkedin {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* CANVAS */

#canvas-container {
  position: fixed;

  inset: 0;

  width: 100%;
  height: 100%;

  z-index: 0;

  pointer-events: none;
}

canvas {
  display: block;
}


/* CONTENT */

main,
.navigation,
footer {
  position: relative;
  z-index: 2;
}


/* NAVIGATION */

.navigation {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  padding: 28px 40px;

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

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  z-index: 20;
}

.logo {
  font-family: var(--mono);

  font-size: 13px;

  letter-spacing: 0.08em;
}

.navigation nav {
  display: flex;

  gap: 30px;
}

.navigation nav a {
  font-family: var(--mono);

  font-size: 12px;

  text-transform: uppercase;

  color: var(--muted);

  transition: color 0.3s ease;
}

.navigation nav a:hover {
  color: var(--white);
}


/* HERO */

.hero {
  min-height: 100vh;

  display: flex;
  align-items: center;

  padding: 120px 8vw;

  position: relative;
}

.hero-content {
  max-width: 750px;
}

.eyebrow {
  font-family: var(--mono);

  font-size: 12px;

  color: var(--green);

  letter-spacing: 0.12em;

  margin-bottom: 30px;
}

.hero h1 {
  font-size: clamp(60px, 10vw, 100px);

  font-weight: 400;

  line-height: 1.05;

  letter-spacing: -0.07em;
}

.hero h1 span {
  color: var(--yellow);
}

.intro {
  max-width: 620px;

  margin-top: 40px;

  font-size: 18px;

  line-height: 1.6;

  color: 
  
  var(--muted);
}

.hero h1 .rooted {
  color: var(--yellow);
}

.hero h1 .fine-art {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: -0.03em;

  color: var(--white);
}

.explore {
  display: inline-flex;

  align-items: center;

  gap: 20px;

  margin-top: 45px;

  padding-bottom: 8px;

  border-bottom: 1px solid var(--white);

  font-family: var(--mono);

  font-size: 12px;

  text-transform: uppercase;
}

.explore span {
  font-size: 18px;
}

.scroll-indicator {
  position: absolute;

  right: 40px;
  bottom: 40px;

  writing-mode: vertical-rl;

  font-family: var(--mono);

  font-size: 10px;

  color: var(--muted);

  letter-spacing: 0.15em;
}


/* SECTIONS */

.section {
  min-height: 100vh;

  padding: 150px 8vw;

  position: relative;
}

.section-heading {
  display: flex;

  align-items: baseline;

  gap: 20px;

  margin-bottom: 90px;
}

.section-heading span {
  font-family: var(--mono);

  font-size: 11px;

  color: var(--green);
}

.section-heading h2 {
  font-size: clamp(40px, 6vw, 90px);

  font-weight: 400;

  letter-spacing: -0.05em;
}


/* PROJECTS */

.projects {
  display: grid;

  grid-template-columns: 1fr;

  gap: 120px;
}

.project {
  width: 100%;

  border-top: 1px solid var(--border);

  transition: opacity 0.4s ease;
}

.project:hover {
  transform: none;
}


/* PROJECT VISUAL */

.project-visual {
  width: 100%;

  aspect-ratio: 2.7 / 1;

  position: relative;

  overflow: hidden;

  margin-bottom: 30px;

  background: var(--background-dark);

  border-radius: 32px;
}

.project-visual img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition:
    transform 0.7s ease,
    filter 0.7s ease;
}


/* COLOUR OVERLAY */

.project-visual::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(159, 197, 90, 0.25),
      rgba(156, 99, 163, 0.12) 50%,
      rgba(217, 75, 104, 0.20)
    );

  mix-blend-mode: color;

  pointer-events: none;

  transition: opacity 0.6s ease;
}


/* DARK IMAGE GRADIENT */

.project-visual::before {
  content: "";

  position: absolute;

  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.25),
      transparent 35%,
      rgba(0, 0, 0, 0.15)
    );

  pointer-events: none;
}


/* IMAGE HOVER */

.project:hover .project-visual img {
  transform: scale(1.025);

  filter:
    brightness(0.87)
    saturate(1.08);
}

.project:hover .project-visual::after {
  opacity: 0.5;
}


/* PROJECT NUMBER */

.project-visual span {
  position: absolute;

  top: 20px;
  left: 20px;

  z-index: 2;

  font-family: var(--mono);

  font-size: 11px;

  color: white;

  background: rgba(0, 0, 0, 0.35);

  padding: 6px 9px;

  border-radius: 8px;

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}


/* PROJECT INFORMATION */

.project-info {
  max-width: 650px;
}

.project-info p:first-child {
  font-family: var(--mono);

  font-size: 10px;

  color: var(--muted);

  margin-bottom: 12px;

  text-transform: uppercase;

  letter-spacing: 0.05em;
}

.project-info h3 {
  font-size: clamp(30px, 3vw, 48px);

  font-weight: 400;

  line-height: 1.1;

  letter-spacing: -0.025em;

  margin-bottom: 18px;
}

.project-info p {
  max-width: 600px;

  color: var(--muted);

  line-height: 1.65;

  font-size: 16px;
}

.project-info a {
  display: inline-block;

  margin-top: 25px;

  padding-bottom: 5px;

  border-bottom: 1px solid var(--white);

  font-family: var(--mono);

  font-size: 11px;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.project-info a:hover {
  opacity: 0.65;
}


/* OPTIONAL GENERATIVE PROJECT BACKGROUNDS */

.project-one {
  background:
    radial-gradient(
      circle at 50% 60%,
      var(--green),
      transparent 2%
    ),
    radial-gradient(
      circle at 50% 60%,
      transparent 20%,
      rgba(159, 197, 90, 0.25) 21%,
      transparent 22%
    ),
    var(--background-dark);
}

.project-two {
  background:
    repeating-radial-gradient(
      circle at center,
      transparent 0,
      transparent 30px,
      rgba(212, 196, 91, 0.35) 31px,
      transparent 32px
    ),
    var(--background-dark);
}

.project-three {
  background:
    radial-gradient(
      circle at center,
      var(--red),
      transparent 2%
    ),
    conic-gradient(
      from 0deg,
      transparent,
      rgba(217, 75, 104, 0.3),
      transparent
    ),
    var(--background-dark);
}


/* ABOUT */

.about {
  background: rgba(30, 28, 30, 0.35);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 10vw;
  align-items: start;
}

.about-large h2 {
  font-size: clamp(45px, 6vw, 90px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.06em;
}


/* SPECIAL "THE DESIGN" TYPOGRAPHY */

.about-large .fine-art {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;

  color: var(--purple);

  letter-spacing: -0.02em;
}

.contact-content .social {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;

  color: var(--red);

  letter-spacing: -0.02em;
}


.about-text {
  max-width: 500px;
}

.about-text p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
  margin-bottom: 30px;
}



.about-text {
  max-width: 500px;
}

.about-text p {
  color: var(--muted);

  line-height: 1.8;

  font-size: 17px;

  margin-bottom: 30px;
}


/* CONTACT */

.contact {
  min-height: 80vh;

  display: flex;

  flex-direction: column;

  justify-content: center;
}

.contact-content h2 {
  font-size: clamp(50px, 8vw, 120px);

  font-weight: 300;

  line-height: 0.95;

  letter-spacing: -0.06em;
}

.contact-content em {
  color: var(--red);

  font-style: normal;
}

.email {
  display: inline-block;

  margin-top: 60px;

  font-family: var(--mono);

  font-size: 16px;

  border-bottom: 1px solid var(--white);

  padding-bottom: 8px;
}


/* FOOTER */

footer {
  padding: 30px 40px;

  border-top: 1px solid var(--border);

  display: flex;

  justify-content: space-between;

  font-family: var(--mono);

  font-size: 10px;

  color: var(--muted);
}


/* TABLET */

@media (max-width: 1100px) {

  .section {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .project-visual {
    aspect-ratio: 2 / 1;
  }

  .projects {
    gap: 90px;
  }

}


/* MOBILE */

@media (max-width: 800px) {

  .navigation {
    padding: 20px;
  }

  .navigation nav {
    gap: 15px;
  }

  .navigation nav a {
    font-size: 10px;
  }


  /* HERO */

  .hero {
    padding: 120px 25px 80px;
  }

  .hero h1 {
    font-size: clamp(55px, 16vw, 100px);
  }

  .intro {
    font-size: 16px;
  }

  .scroll-indicator {
    display: none;
  }


  /* SECTIONS */

  .section {
    min-height: auto;

    padding: 100px 25px;
  }

  .section-heading {
    margin-bottom: 50px;
  }


  /* PROJECTS */

  .projects {
    grid-template-columns: 1fr;

    gap: 75px;
  }

  .project-visual {
    aspect-ratio: 16 / 10;

    margin-bottom: 24px;

    border-radius: 20px;
  }

  .project-visual span {
    top: 14px;
    left: 14px;
  }

  .project-info h3 {
    font-size: 30px;
  }

  .project-info p {
    font-size: 14px;
  }




  /* ABOUT */

  .about-grid {
    grid-template-columns: 1fr;

    gap: 60px;
  }

   .about-large {
  display: flex;
  align-items: flex-start;
}

.about-face {
  width: 100%;
  max-width: 520px;

  aspect-ratio: 4 / 5;
  object-fit: cover;

  border-radius: 24px;

  filter: grayscale(100%);
  transition:
    filter 0.4s ease,
    transform 0.4s ease;
}

.about-face:hover {
  filter: grayscale(0%);
  transform: scale(1.015);
}


  /* FOOTER */

  footer {
    padding: 25px;

    flex-direction: column;

    gap: 10px;
  }

}


/* SMALL MOBILE */

@media (max-width: 480px) {

  .navigation {
    padding: 18px;
  }

  .navigation nav {
    gap: 10px;
  }

  .navigation nav a {
    font-size: 9px;
  }

  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .project-visual {
    aspect-ratio: 4 / 3;

    border-radius: 16px;
  }

  .projects {
    gap: 65px;
  }

  .project-info h3 {
    font-size: 28px;
  }



}