@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

:root {
  color-scheme: light;
  --ink: #050505;
  --paper: #f5f3ee;
  --muted: #6e6a63;
  --line: rgba(5, 5, 5, 0.16);
  --signal: #c8ff2e;
  --blue: #2952ff;
  --rose: #ef5a72;
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Brother 1816",
    Brother,
    Pretendard,
    "Helvetica Neue",
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    sans-serif;
}

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

.site-header {
  align-items: center;
  background: rgba(245, 243, 238, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 18px 28px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand,
.nav-links a {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-transform: lowercase;
}

.brand {
  text-transform: none;
}

.nav-links {
  display: flex;
  gap: 22px;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  background: var(--ink);
  bottom: -6px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

main {
  margin: 0 auto;
  max-width: var(--max);
}

.hero {
  min-height: 100svh;
  padding: 86px 24px 28px;
  position: relative;
}

.hero-media {
  height: calc(100svh - 118px);
  min-height: 520px;
}

.video-frame {
  background:
    linear-gradient(90deg, rgba(200, 255, 46, 0.18) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(41, 82, 255, 0.12) 0 1px, transparent 1px 100%),
    #111;
  background-size: 54px 54px;
  overflow: hidden;
  position: relative;
}

.video-frame::after {
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.54));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

video {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  transition: opacity 280ms ease;
  width: 100%;
}

video.is-ready {
  opacity: 1;
}

.video-fallback {
  align-content: space-between;
  color: #f7f4ed;
  display: grid;
  font-weight: 900;
  inset: 0;
  line-height: 0.88;
  padding: 22px;
  position: absolute;
  text-transform: uppercase;
}

.video-fallback span:nth-child(1) {
  color: var(--signal);
  font-size: 58px;
}

.video-fallback span:nth-child(2) {
  font-size: 42px;
}

.video-fallback span:empty {
  display: none;
}

.video-fallback span:nth-child(3) {
  color: rgba(247, 244, 237, 0.72);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-media .video-fallback span:nth-child(3) {
  display: none;
}

.hero-media .video-fallback span:nth-child(2) {
  display: none;
}

.hero-copy {
  bottom: 54px;
  color: #fff;
  left: 48px;
  max-width: 900px;
  position: absolute;
  right: 48px;
  z-index: 2;
}

.kicker {
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 43px;
  line-height: 0.92;
  margin-bottom: 16px;
}

.hero-line {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 0;
  max-width: 680px;
}

.intro,
.work-section,
.info-section {
  border-top: 1px solid var(--line);
  padding: 72px 28px;
}

.intro {
  display: grid;
  gap: 24px;
  grid-template-columns: 0.9fr 1.1fr;
}

.intro p {
  font-size: 31px;
  font-weight: 700;
  line-height: 1.18;
  margin: 0;
}

.intro p:first-child {
  color: var(--muted);
}

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

.section-heading h2 {
  font-size: 15px;
  margin: 0;
  text-transform: lowercase;
}

.section-heading p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.work-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.work-card {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.work-media {
  aspect-ratio: 16 / 10;
}

.embed-frame {
  background: #111;
  overflow: hidden;
  position: relative;
}

.youtube-card {
  background: #111;
  display: block;
  overflow: hidden;
  position: relative;
}

.youtube-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
  width: 100%;
}

.youtube-card:hover img {
  transform: scale(1.025);
}

.youtube-card::after {
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.36));
  content: "";
  inset: 0;
  position: absolute;
}

.play-mark {
  background: #ff0033;
  border-radius: 8px;
  height: 44px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  z-index: 1;
}

.play-mark::after {
  border-bottom: 11px solid transparent;
  border-left: 18px solid #fff;
  border-top: 11px solid transparent;
  content: "";
  left: 25px;
  position: absolute;
  top: 11px;
}

.embed-frame iframe {
  border: 0;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.work-card:nth-child(2) .video-frame {
  background-color: #16191f;
}

.work-card:nth-child(2) .video-fallback span:first-child {
  color: var(--blue);
}

.work-card:nth-child(3) .video-frame {
  background-color: #191212;
}

.work-card:nth-child(3) .video-fallback span:first-child {
  color: var(--rose);
}

.work-card:nth-child(4) .video-frame {
  background-color: #101711;
}

.work-meta {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: 0.8fr 1.4fr auto auto;
  grid-template-rows: auto auto;
  padding-top: 13px;
}

.work-meta p,
.work-meta span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.work-meta h3 {
  grid-column: 2;
  grid-row: 1;
  font-size: 19px;
  line-height: 1.12;
  margin: 0;
}

.work-credit {
  align-self: start;
  color: var(--muted);
  font-size: 7px;
  font-weight: 700;
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
  line-height: 1.2;
  margin-top: -3px;
  text-align: left;
  text-transform: uppercase;
}

.work-open {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  margin-top: 1px;
  text-transform: uppercase;
}

.info-section {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 420px;
}

.info-section h2 {
  font-size: 52px;
  line-height: 0.98;
  margin: 0;
  word-break: break-word;
}

.info-section > p {
  align-self: end;
  color: var(--muted);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 22px 28px 30px;
}

.site-footer p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .site-header {
    padding: 16px 18px;
  }

  .hero {
    min-height: 92svh;
    padding: 76px 14px 18px;
  }

  .hero-media {
    height: calc(92svh - 96px);
    min-height: 500px;
  }

  .hero-copy {
    bottom: 58px;
    left: 28px;
    right: 28px;
  }

  h1 {
    font-size: 28px;
  }

  .hero-line {
    font-size: 17px;
  }

  .intro,
  .work-section,
  .info-section {
    padding: 52px 18px;
  }

  .intro,
  .info-section {
    grid-template-columns: 1fr;
  }

  .intro p {
    font-size: 24px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

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

  .work-meta {
    grid-template-columns: 1fr auto auto;
  }

  .work-meta h3 {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .work-credit {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    margin-top: -5px;
  }

  .info-section {
    min-height: 360px;
  }

  .info-section h2 {
    font-size: 34px;
  }

  .info-section > p {
    font-size: 18px;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
    padding: 20px 18px 26px;
  }
}

@media (max-width: 520px) {
  .brand,
  .nav-links a {
    font-size: 13px;
  }

  .nav-links {
    gap: 14px;
  }

  h1 {
    font-size: 24px;
  }

  .video-fallback span:nth-child(1) {
    font-size: 44px;
  }

  .video-fallback span:nth-child(2) {
    font-size: 32px;
  }
}
