@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=DM+Mono:wght@400&display=swap');


/* =========================
   RESET
========================= */

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

html {
  scroll-behavior: smooth;
}

body {
  background: #f3f3ef;
  color: #111;
  font-family: "Abril Fatface", serif;
  overflow-x: hidden;
}

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

::selection {
  background: #111;
  color: #f3f3ef;
}


/* =========================
   VARIABLES
========================= */

:root {
  --padding: 30px;
  --border: #111;
  --muted: #777;
}


/* =========================
   NAVIGATION
========================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--padding);

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;

  z-index: 100;

  mix-blend-mode: difference;
  color: white;
}

.logo {
  font-family: "Abril Fatface", serif;
  font-size: 18px;
}

.nav nav {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.nav nav a,
.nav-status {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.nav nav a {
  transition: opacity .3s ease;
}

.nav nav a:hover {
  opacity: .5;
}

.nav-status {
  text-align: right;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-radius: 50%;
  background: white;
}


/* =========================
   GENERAL
========================= */

section {
  padding: 120px var(--padding);
}

.section-label {
  display: flex;
  justify-content: space-between;

  padding-bottom: 15px;

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

  font-family: "DM Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
}


/* =========================
   HERO
========================= */

.hero {
  min-height: 100vh;

  padding-top: 130px;
  padding-bottom: 30px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background: #111;
  color: #f3f3ef;
}

.hero-top,
.hero-bottom {
  display: flex;
  justify-content: space-between;

  font-family: "DM Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: "Abril Fatface", serif;
  font-size: clamp(90px, 16vw, 260px);
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.045em;
}

.hero h1 span {
  display: inline-block;
  margin-left: 16vw;
}

.hero-description {
  width: 260px;

  font-family: "DM Mono", monospace;
  font-size: 11px;
  line-height: 1.5;
  text-transform: uppercase;
}

.scroll-link {
  align-self: flex-end;

  font-family: "DM Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.scroll-link span {
  margin-left: 10px;
}


/* =========================
   INTRO
========================= */

.intro {
  min-height: 80vh;
}

.intro-content {
  max-width: 1000px;
  margin-left: 25%;
  padding-top: 120px;
}

.intro-content p {
  font-family: "Abril Fatface", serif;
  font-size: clamp(45px, 7vw, 105px);
  line-height: .95;
  letter-spacing: -.04em;
}

.intro-content em {
  font-style: normal;
  color: var(--muted);
}


/* =========================
   WORK
========================= */

.work {
  padding-top: 80px;
}

.project {
  margin-top: 110px;
}

.project-info {
  display: grid;
  grid-template-columns: 15% 1fr 15%;
  align-items: start;

  padding-bottom: 18px;

  font-family: "DM Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.project-info h2 {
  font-family: "Abril Fatface", serif;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -.02em;
  text-transform: none;
}

.project-info p {
  margin-top: 5px;
  color: var(--muted);
}

.project-year {
  text-align: right;
}

.project-image {
  height: 65vh;

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

  overflow: hidden;

  transition:
    transform .5s cubic-bezier(.2,.7,.2,1);
}

.project-image span {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: .1em;
}

.project-one {
  background: #d8d4ca;
}

.project-two {
  background: #c7c8c3;
}

.project-three {
  background: #dedbd4;
}

.project:hover .project-image {
  transform: scale(.985);
}


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

.about {
  min-height: 100vh;
}

.about-content {
  display: grid;
  grid-template-columns: 60% 30%;
  justify-content: space-between;

  padding-top: 120px;
}

.about-content h2 {
  font-family: "Abril Fatface", serif;
  font-size: clamp(60px, 9vw, 140px);
  line-height: .88;
  letter-spacing: -.045em;
  font-weight: 400;
}

.about-content h2 span {
  color: var(--muted);
}

.about-text {
  padding-top: 10px;
}

.about-text p {
  max-width: 350px;

  font-family: "DM Mono", monospace;
  font-size: 11px;
  line-height: 1.6;
  text-transform: uppercase;

  margin-bottom: 25px;
}

.text-link {
  display: inline-block;

  margin-top: 20px;
  padding-bottom: 5px;

  border-bottom: 1px solid;

  font-family: "DM Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}


/* =========================
   CAPABILITIES
========================= */

.capabilities {
  background: #111;
  color: #f3f3ef;
}

.capabilities .section-label {
  border-color: #f3f3ef;
}

.capability-list {
  margin-top: 80px;
}

.capability {
  display: grid;
  grid-template-columns: 15% 1fr;
  align-items: baseline;

  padding: 25px 0;

  border-bottom: 1px solid #444;

  transition: padding-left .4s ease;
}

.capability:hover {
  padding-left: 25px;
}

.capability span {
  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.capability h3 {
  font-family: "Abril Fatface", serif;
  font-size: clamp(45px, 7vw, 100px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.04em;
}


/* =========================
   CONTACT
========================= */

.contact {
  min-height: 90vh;

  display: flex;
  flex-direction: column;
}

.contact-content {
  margin-top: auto;
  padding-top: 100px;
}

.contact-content p {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;

  margin-bottom: 30px;
}

.contact-link {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  font-family: "Abril Fatface", serif;
  font-size: clamp(60px, 13vw, 190px);
  font-weight: 400;
  line-height: .8;
  letter-spacing: -.055em;

  border-bottom: 2px solid;

  padding-bottom: 25px;

  transition: opacity .3s ease;
}

.contact-link:hover {
  opacity: .45;
}

.contact-link span {
  font-family: "DM Mono", monospace;
  font-size: .35em;
  letter-spacing: 0;
}


/* =========================
   FOOTER
========================= */

footer {
  padding: 25px var(--padding);

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;

  font-family: "DM Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

footer div {
  display: flex;
  justify-content: center;
  gap: 25px;
}

footer > span:last-child {
  text-align: right;
}


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

@media (max-width: 700px) {

  :root {
    --padding: 18px;
  }

  .nav {
    grid-template-columns: 1fr 1fr;
  }

  .nav nav {
    display: none;
  }

  .nav-status {
    grid-column: 2;
  }

  .hero {
    padding-top: 100px;
  }

  .hero h1 {
    font-size: 25vw;
    line-height: .82;
  }

  .hero h1 span {
    margin-left: 8vw;
  }

  .hero-description {
    width: 180px;
  }

  section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .intro {
    min-height: 70vh;
  }

  .intro-content {
    margin-left: 0;
    padding-top: 80px;
  }

  .intro-content p {
    font-size: 48px;
  }

  .project {
    margin-top: 70px;
  }

  .project-info {
    grid-template-columns: 12% 1fr;
  }

  .project-year {
    display: none;
  }

  .project-image {
    height: 55vh;
  }

  .about-content {
    display: block;
    padding-top: 80px;
  }

  .about-content h2 {
    font-size: 65px;
    margin-bottom: 70px;
  }

  .capability {
    grid-template-columns: 12% 1fr;
  }

  .capability h3 {
    font-size: 43px;
  }

  .contact-link {
    font-size: 20vw;
  }

  footer {
    display: block;
  }

  footer div {
    justify-content: flex-start;
    margin: 20px 0;
  }

  footer > span:last-child {
    text-align: left;
  }
}