@font-face {
  font-family: "Glow Sans SC";
  src: url("/assets/fonts/GlowSansSC-Normal-Book-Full-v0.93.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/InstrumentSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/InstrumentSans-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color: #111;
  background: #fff;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 1200px;
  margin: 0;
}

body {
  background: #fff;
}

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

button {
  color: inherit;
}

.page {
  position: relative;
  width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

.home-page {
  height: 888px;
}

.detail-page {
  min-height: 900px;
}

.site-header {
  font-family: "Instrument Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

.site-name,
.nav-about,
.nav-contact {
  position: absolute;
  top: 44px;
  height: 20px;
  white-space: nowrap;
}

.site-name {
  left: 86.5px;
}

.nav-about {
  left: 918.5px;
}

.nav-contact {
  left: 1022.5px;
}

a.site-name:focus-visible,
.work-card:focus-visible,
.slide-button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}

.work-card {
  position: absolute;
  display: block;
  overflow: hidden;
  background: #f5f5f3;
  transition: opacity 0.18s ease;
}

.work-card:hover {
  opacity: 0.92;
}

.work-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-year {
  position: absolute;
  left: 970.5px;
  width: 52px;
  height: 20px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.site-footer {
  position: absolute;
  left: 1022.5px;
  bottom: 44px;
  height: 20px;
  white-space: nowrap;
  font-family: "Instrument Sans", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.detail-media {
  position: absolute;
  top: 110px;
  left: 119px;
  width: 442px;
  height: 336px;
}

.slide-frame {
  position: relative;
  display: grid;
  width: 442px;
  height: 294px;
  place-items: center;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: none;
  margin: 0;
  place-items: center;
  overflow: hidden;
}

.slide.is-active {
  display: grid;
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.media-portrait .slide img {
  width: auto;
  height: 294px;
}

.media-crow .slide {
  inset: 0 auto;
  left: 50%;
  width: 209px;
  height: 294px;
  transform: translateX(-50%);
}

.media-crow .slide img {
  width: 221px;
  max-width: none;
  height: 294px;
  object-fit: cover;
}

.slide-controls {
  position: absolute;
  top: 305px;
  left: 0;
  width: 442px;
  height: 20px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.slide-count {
  position: absolute;
  left: 0;
  top: 0;
  width: 91px;
  height: 20px;
}

.slide-button {
  position: absolute;
  top: 0;
  display: flex;
  width: 32px;
  height: 20px;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  font-family: "Instrument Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 13px;
  cursor: pointer;
}

.slide-prev {
  left: 368px;
}

.slide-next {
  left: 410px;
}

.detail-title,
.detail-type,
.detail-body {
  position: absolute;
  margin: 0;
}

.detail-title {
  top: 490px;
  left: 119px;
  width: 312px;
  font-family: "Glow Sans SC", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 21px;
  letter-spacing: 0.01em;
}

.detail-title-latin {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

.detail-type {
  top: 490px;
  left: 509px;
  width: 117px;
  height: 20px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.detail-body {
  top: 534px;
  left: 119px;
  width: 312px;
  font-family: "Glow Sans SC", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0.01em;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: pretty;
}

.latin {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 400;
}
