:root {
  --page-x: 4vw;
  --gap: 12px;
  --text: #111;
  --muted: #777;
  --line: #dedede;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: var(--text);
  font-family: Arial, "Noto Sans KR", sans-serif;
  line-height: 1.45;
  padding: 0 var(--page-x);
}

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

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

/* HEADER */

.header {
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 12px;
  letter-spacing: .04em;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 32px;
}

.nav-right {
  justify-content: flex-end;
}

.logo {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.02em;
}

.header a {
  transition: opacity .2s ease;
}

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

.nav-right .active {
  border-bottom: 1px solid #111;
  padding-bottom: 4px;
}


/* HERO */

.hero {
  display: grid;
  grid-template-columns: 28% 72%;
  min-height: 310px;
  margin-bottom: var(--gap);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px 45px 25px 0;
}

.hero-copy h1 {
  font-size: clamp(30px, 2.6vw, 48px);
  line-height: 1.25;
  letter-spacing: -.05em;
  font-weight: 500;
  margin-bottom: 22px;
}

.hero-copy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.view-work {
  margin-top: 30px;
  font-size: 11px;
  letter-spacing: .08em;
}

.hero-image {
  min-height: 310px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* PLACEHOLDERS */

.placeholder {
  background: #eceae6;
  position: relative;
  overflow: hidden;
}

.placeholder span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #aaa;
  font-size: 11px;
  letter-spacing: .12em;
}


/* WORK */

.work {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.category {
  display: block;
}

.category-image {
  aspect-ratio: 1.55 / 1;
  transition: opacity .25s ease;
}

.category:hover .category-image {
  opacity: .88;
}

.category-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 12px 2px 0;
}

.category-info h2 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.category-info p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

.category-info > span {
  font-size: 11px;
  color: var(--muted);
}


/* ABOUT + CONTACT */

.bottom-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 6vw;
  margin: 52px 2vw 40px;
}

.about {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 38px;
  align-items: center;
}

.about-photo {
  aspect-ratio: 4 / 3;
}

.section-label {
  display: block;
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--muted);
  margin-bottom: 14px;
}

.about-text h2 {
  font-size: 19px;
  font-weight: 500;
}

.role {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.description {
  font-size: 12px;
  color: #666;
  line-height: 1.7;
  margin-top: 18px;
}

.contact {
  border-left: 1px solid var(--line);
  padding-left: 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact h2 {
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}

.contact a {
  font-size: 11px;
  letter-spacing: .08em;
}


/* FOOTER */

footer {
  border-top: 1px solid #eee;
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
}

footer div {
  display: flex;
  gap: 28px;
}


/* TABLET */

@media (max-width: 1000px) {

  .hero {
    grid-template-columns: 35% 65%;
  }

  .bottom-section {
    grid-template-columns: 1fr;
  }

  .contact {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 30px 0 0;
  }
}


/* MOBILE */

@media (max-width: 700px) {

  :root {
    --page-x: 20px;
  }

  .header {
    height: 62px;
    grid-template-columns: 1fr auto;
  }

  .nav-left {
    display: none;
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
  }

  .nav-right {
    grid-column: 2;
    grid-row: 1;
    gap: 18px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .hero-copy {
    padding: 55px 0 40px;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .hero-image {
    min-height: 55vw;
  }

  .work {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 12px;
  }

  .category-image {
    aspect-ratio: 4 / 3;
  }

  .bottom-section {
    margin: 70px 0 35px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .about-photo {
    max-width: 280px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    padding: 25px 0;
  }
}
