:root {
  color-scheme: light;
  font-family: "Noto Sans KR", sans-serif;
  color: #171816;
  background: #f3f0e8;
  font-synthesis: none;
  --ink: #171816;
  --paper: #f3f0e8;
  --acid: #d7ff45;
  --violet: #795bff;
  --line: rgba(23, 24, 22, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  word-break: keep-all;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(rgba(23, 24, 22, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 24, 22, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
}

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

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 700 0.82rem/1 "DM Sans", sans-serif;
  letter-spacing: 0.12em;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  color: var(--paper);
  background: var(--ink);
}

.collection-count,
.section-heading span,
footer {
  color: #6c6d67;
  font: 600 0.72rem/1 "DM Sans", sans-serif;
  letter-spacing: 0.08em;
}

.hero {
  display: grid;
  min-height: 520px;
  align-content: center;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 24px;
  color: #5f45d7;
  font: 700 0.74rem/1 "DM Sans", sans-serif;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  overflow-wrap: normal;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7.3rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-copy {
  max-width: 610px;
  margin: 34px 0 0;
  color: #555650;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.75;
}

.projects {
  padding: 76px 0 120px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  letter-spacing: -0.04em;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 30px;
  background: #fffdf7;
  box-shadow: 0 18px 0 rgba(23, 24, 22, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 24px 0 rgba(23, 24, 22, 0.1);
}

.project-card:focus-visible {
  outline: 4px solid var(--violet);
  outline-offset: 5px;
}

.project-visual {
  position: relative;
  display: grid;
  min-height: 440px;
  place-items: center;
  overflow: hidden;
  background: #151519;
}

.project-visual::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  content: "";
  opacity: 0.15;
}

.orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(12px);
}

.orb-one {
  top: -80px;
  right: -45px;
  background: rgba(121, 91, 255, 0.65);
}

.orb-two {
  bottom: -130px;
  left: -55px;
  background: rgba(215, 255, 69, 0.45);
}

.scan-frame {
  position: relative;
  display: grid;
  width: min(72%, 430px);
  aspect-ratio: 1.22;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 28px;
  color: white;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  font: 700 clamp(2.4rem, 6vw, 5rem)/1 "DM Sans", sans-serif;
}

.scan-frame span:last-child {
  color: var(--acid);
}

.scan-line {
  width: 68%;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.project-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 68px);
}

.project-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 34px;
  color: #696a64;
  font-size: 0.74rem;
  font-weight: 700;
}

.project-meta span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.project-meta .status {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--acid);
}

.project-content h3 {
  margin: 0 0 20px;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.07em;
}

.project-content p {
  margin: 0;
  color: #575852;
  font-size: 1.05rem;
  line-height: 1.75;
}

.project-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 32px 0 46px;
  border-top: 1px solid var(--line);
}

@media (max-width: 780px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: 72px;
  }

  .hero {
    min-height: 470px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5.4rem);
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-content {
    padding: 36px 26px 40px;
  }
}

@media (max-width: 460px) {
  .collection-count,
  .section-heading span {
    display: none;
  }

  .hero {
    min-height: 430px;
  }

  .projects {
    padding: 56px 0 84px;
  }

  .project-card {
    border-radius: 22px;
  }

  .project-visual {
    min-height: 330px;
  }

  footer {
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
