@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400&display=swap");

:root {
  color-scheme: light;
  color: #26221e;
  background: #fff;
  font-family: "Noto Serif KR", "Nanum Myeongjo", "AppleMyungjo", Batang, serif;
  --line: #dedbd7;
  --muted: #5a544e;
}

body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }

:where(a, button, select):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  min-height: 2.65rem;
  padding-inline: 1.35rem;
  border: 1px solid #bbb6b0;
  border-radius: 999px;
  background: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.09em;
  cursor: pointer;
}

.pill:hover { border-color: currentColor; }
.pill:disabled { cursor: wait; opacity: 0.6; }

.cover {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 8vh, 4rem);
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100svh;
  padding: 2.5rem 1.25rem 6rem;
}

.cover-art {
  position: relative;
  display: grid;
  place-items: center;
  width: min(20rem, 78vw, 52vh);
  aspect-ratio: 1;
}

.cover-title { text-align: center; }
.cover h1 {
  margin: 0;
  font-size: clamp(1.35rem, 5.5vw, 1.95rem);
  font-weight: 400;
  letter-spacing: 0.16em;
}
.cover-title p {
  margin: 0.7rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.34em;
}

.object {
  position: absolute;
  width: 17%;
  height: auto;
  transform: translate(-50%, -50%);
}
.object-stone { top: 12%; left: 50%; }
.object-air { top: 31%; left: 84%; }
.object-parasol { top: 70%; left: 84%; }
.object-bucket { top: 88%; left: 50%; }
.object-tumbleweed { top: 70%; left: 16%; }
.object-peach { top: 31%; left: 16%; }

.about-jump {
  position: absolute;
  bottom: 2rem;
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
}
.about-jump:hover { text-decoration: underline; text-underline-offset: 0.25em; }

.about {
  max-width: 33rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 12vh, 6rem) 1.5rem;
  line-height: 1.9;
  word-break: keep-all;
}
.about h2, .reflection h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.13em;
}
.about .pill { margin-top: 1rem; }

.contents {
  max-width: 23rem;
  margin-inline: auto;
  padding: clamp(3rem, 11vh, 6.5rem) 1.5rem 3rem;
  text-align: center;
}
.contents-title {
  margin: 0 0 2.5rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.2em;
}
.contents-title a:hover { text-decoration: underline; text-underline-offset: 0.25em; }

.work-list { margin: 0; padding: 0; list-style: none; }
.work-list li { border-top: 1px solid var(--line); }
.work-list li:last-child { border-bottom: 1px solid var(--line); }
.work-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding-inline: 0.35rem;
  font-size: 0.94rem;
  letter-spacing: 0.08em;
}
.work-list a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.work-list img { flex: none; }
.contents-home { margin-top: 2.5rem; }

.reflection {
  border-top: 1px solid var(--line);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}
.reflection form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}
.reflection select {
  min-height: 2.65rem;
  padding-inline: 0.65rem;
  border: 1px solid #bbb6b0;
  border-radius: 0.3rem;
  background: #fff;
  font-size: 0.85rem;
}
.reflection-result {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.9rem;
  word-break: keep-all;
}
.reflection-result:empty { margin: 0; }

@media (max-height: 420px) and (orientation: landscape) {
  .cover-art { width: 12rem; }
}
