:root {
  --ink: #1d211d;
  --paper: #f9f7f1;
  --cream: #f0ecdf;
  --orange: #f27645;
  --sage: #b6c3a3;
  --muted: #77766f;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, "Noto Sans KR", sans-serif;
}
.site-header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5vw, 42px);
  border-bottom: 1px solid #dedbd0;
  position: sticky;
  top: 0;
  background: #f9f7f1ef;
  backdrop-filter: blur(10px);
  z-index: 10;
}
.logo {
  color: var(--ink);
  font:
    25px "DM Serif Display",
    serif;
  letter-spacing: -1.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.logo i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  margin: 10px 2px 0;
}
.nav-links {
  display: flex;
  gap: 35px;
  margin-left: 75px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 700;
  color: #797a72;
  text-decoration: none;
}
.nav-links .active,
.nav-links a:hover {
  color: var(--ink);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.search-button {
  background: none;
  border: 0;
  padding: 5px;
  cursor: pointer;
}
.search-button svg {
  width: 20px;
  stroke: var(--ink);
  stroke-width: 1.8;
  fill: none;
}
.avatar {
  border: 0;
  background: #dbe3d0;
  color: #4c5b44;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-weight: 800;
}
.hero {
  min-height: 570px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 70px max(9vw, 70px);
  background: #eeece2;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 800;
  color: #7e8672;
  margin: 0 0 18px;
}
.hero h1,
.section-heading h2,
.write-intro h2 {
  font:
    clamp(43px, 5vw, 70px)/1.04 "DM Serif Display",
    "Noto Serif KR",
    serif;
  letter-spacing: -3px;
  margin: 0;
}
.hero h1 em,
.write-intro em {
  font-style: italic;
  color: var(--orange);
}
.hero-description {
  font:
    14px/1.85 "Noto Sans KR",
    sans-serif;
  color: #6e7069;
  margin: 27px 0;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 35px;
  border: 0;
  text-decoration: none;
  padding: 14px 17px 14px 20px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.button b,
.button span:last-child {
  font-size: 18px;
  line-height: 12px;
}
.primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 6px 6px 0 #de5c2c;
}
.hero-art {
  width: 480px;
  height: 430px;
  position: absolute;
  right: 8%;
  bottom: 0;
}
.sun {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: #d5c9a8;
  position: absolute;
  right: 40px;
  top: 50px;
}
.arch {
  position: absolute;
  border: 1px solid #938e7e;
  border-bottom: 0;
  border-radius: 180px 180px 0 0;
  width: 255px;
  height: 220px;
  right: 45px;
  bottom: 0;
}
.arch-two {
  width: 360px;
  height: 320px;
  right: -10px;
  border-color: #cac3ad;
}
.book {
  position: absolute;
  transform: rotate(-13deg);
  box-shadow: 7px 8px 11px #4742332e;
}
.book-back {
  width: 185px;
  height: 125px;
  background: #637c62;
  bottom: 72px;
  right: 145px;
}
.book-front {
  width: 175px;
  height: 126px;
  background: #e06838;
  bottom: 89px;
  right: 116px;
  padding: 23px 25px;
  color: #fbdec5;
  font:
    22px/1 "DM Serif Display",
    serif;
}
.flower {
  position: absolute;
  width: 70px;
  height: 70px;
}
.flower i {
  position: absolute;
  width: 28px;
  height: 35px;
  background: #f1c670;
  border-radius: 100% 0 100% 0;
  left: 21px;
  top: 0;
  transform-origin: 14px 35px;
}
.flower i:nth-child(2) {
  transform: rotate(90deg);
}
.flower i:nth-child(3) {
  transform: rotate(180deg);
}
.flower i:nth-child(4) {
  transform: rotate(270deg);
}
.flower b {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #e27536;
  left: 27px;
  top: 28px;
}
.flower-one {
  right: 110px;
  top: 21px;
  transform: scale(0.9);
}
.flower-two {
  right: 28px;
  top: 117px;
  transform: scale(0.6);
}
.stem {
  width: 2px;
  background: #668063;
  position: absolute;
  transform-origin: bottom;
}
.stem-one {
  height: 126px;
  right: 133px;
  top: 75px;
  transform: rotate(-18deg);
}
.stem-two {
  height: 120px;
  right: 60px;
  top: 148px;
  transform: rotate(34deg);
}
.scroll-hint {
  position: absolute;
  bottom: 25px;
  left: max(5vw, 42px);
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: #8a8a80;
}
.scroll-hint span {
  font-size: 15px;
  margin-left: 8px;
}
.featured,
.reviews-section {
  padding: 105px max(8vw, 55px);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 38px;
}
.section-heading h2 {
  font-size: 40px;
}
.section-heading > a {
  font-size: 12px;
  text-decoration: none;
  color: #62655d;
  font-weight: 700;
}
.section-heading > a span {
  color: var(--orange);
  font-size: 18px;
  margin-left: 6px;
}
.featured-book {
  height: 330px;
  display: flex;
  position: relative;
  background: #dce3d5;
  overflow: hidden;
}
.featured-book > img {
  width: 40%;
  object-fit: cover;
  filter: saturate(0.7);
}
.featured-content {
  padding: 45px 50px;
  position: relative;
  z-index: 1;
}
.pill {
  background: #f8e9bd;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 800;
  color: #7e6840;
}
.author {
  font-size: 11px;
  color: #70776c;
  margin: 18px 0 4px;
}
.featured-content h3 {
  font:
    34px "DM Serif Display",
    "Noto Serif KR",
    serif;
  margin: 0;
}
.rating-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}
.stars {
  letter-spacing: 2px;
  color: var(--orange);
  font-size: 14px;
}
.rating-line strong {
  font-size: 13px;
}
.rating-line span:last-child {
  font-size: 10px;
  color: #72776d;
}
.featured-content > p:not(.author) {
  font:
    12px/1.8 "Noto Sans KR",
    sans-serif;
  color: #555d53;
  margin: 14px 0;
}
.text-button {
  padding: 0;
  border: 0;
  background: none;
  color: #4d644c;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.text-button span {
  font-size: 16px;
  margin-left: 5px;
}
.quote-mark {
  position: absolute;
  right: 7%;
  top: 10px;
  font: 190px "DM Serif Display";
  color: #c0cdb7;
  line-height: 1;
}
.reviews-section {
  background: #f3f0e6;
}
.filter-buttons {
  display: flex;
  gap: 8px;
}
.filter {
  background: transparent;
  border: 1px solid #d1cec2;
  padding: 8px 12px;
  border-radius: 20px;
  font: 600 10px Manrope;
  color: #777;
  cursor: pointer;
}
.filter.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.review-card {
  background: #fffdf9;
  padding: 25px;
  min-height: 255px;
  display: flex;
  flex-direction: column;
  animation: enter 0.4s ease;
}
.review-card:nth-child(2) {
  background: #fceade;
}
.review-card:nth-child(3) {
  background: #e2e9dc;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.book-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #6c6d64;
}
.card-stars {
  color: var(--orange);
  font-size: 12px;
  letter-spacing: 1px;
}
.review-card blockquote {
  font:
    17px/1.65 "Noto Sans KR",
    sans-serif;
  letter-spacing: -0.6px;
  margin: 24px 0 auto;
}
.card-footer {
  display: flex;
  justify-content: space-between;
  color: #85857f;
  font-size: 10px;
  margin-top: 18px;
}
.like {
  border: 0;
  background: none;
  color: #85857f;
  cursor: pointer;
  font: 10px Manrope;
}
.like.liked {
  color: var(--orange);
}
.write-section {
  background: #28322b;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 10%;
  padding: 105px max(10vw, 65px);
  color: #f7f5ee;
}
.write-intro .eyebrow {
  color: #aab9a1;
}
.write-intro h2 {
  font-size: 46px;
}
.write-intro > p {
  font: 13px/1.9 "Noto Sans KR";
  color: #bac1b6;
  margin: 24px 0 35px;
}
.mini-quote {
  padding-left: 16px;
  border-left: 2px solid var(--orange);
  color: #e1ded2;
  font: 15px/1.8 "Noto Sans KR";
}
.review-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.review-form label {
  font-size: 11px;
  font-weight: 800;
  color: #d8dbd1;
}
.review-form input,
.review-form textarea {
  display: block;
  width: 100%;
  margin-top: 9px;
  padding: 11px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #637064;
  color: #fff;
  font: 13px "Noto Sans KR";
  outline: none;
  resize: vertical;
}
.review-form input:focus,
.review-form textarea:focus {
  border-color: #f0b196;
}
.form-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 8px;
}
.form-stars button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #667263;
  font-size: 23px;
  cursor: pointer;
}
.form-stars button.selected {
  color: #f3a54d;
}
.form-stars small {
  font: 11px "Noto Sans KR";
  margin-left: 8px;
  color: #aeb5a9;
}
.dark {
  align-self: flex-start;
  background: var(--orange);
  color: white;
  margin-top: 8px;
}
footer {
  min-height: 120px;
  padding: 35px max(5vw, 42px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e271f;
  color: #c4c9bf;
}
footer .logo {
  color: #f5f3ea;
}
footer p {
  font-size: 10px;
  color: #a3aca0;
}
.toast {
  position: fixed;
  z-index: 20;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 100px);
  background: #253128;
  color: #fff;
  padding: 13px 20px;
  font-size: 12px;
  box-shadow: 0 5px 20px #0003;
  transition: 0.35s;
}
.toast.show {
  transform: translate(-50%, 0);
}
.search-overlay {
  position: fixed;
  z-index: 30;
  inset: 0;
  background: #263229f7;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.search-overlay.open {
  opacity: 1;
  visibility: visible;
}
.search-overlay > div {
  width: min(680px, 82vw);
}
.search-overlay input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 2px solid #e5e6db;
  color: #fff;
  padding: 15px 0;
  font: 28px "Noto Sans KR";
  outline: none;
}
.search-overlay input::placeholder {
  color: #adb5a9;
}
.search-overlay div > p:last-child {
  font-size: 11px;
  color: #abb6a9;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.search-results {
  max-height: 42vh;
  overflow-y: auto;
  margin-top: 18px;
}
.search-message,
.search-count {
  font-size: 12px;
  color: #c4ccc0;
}
.search-count {
  margin-bottom: 8px;
}
.search-result {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #ffffff2e;
  color: #fff;
  font: 600 16px "Noto Sans KR", sans-serif;
  text-align: left;
  cursor: pointer;
}
.search-result:hover,
.search-result:focus-visible {
  color: #f5ba9f;
  outline: none;
}
.search-result small {
  color: #bcc7b8;
  font: 700 10px Manrope, sans-serif;
}
.search-result b {
  margin-left: 6px;
  color: var(--orange);
  font-size: 15px;
}
.close-search {
  position: absolute;
  top: 30px;
  right: 5vw;
  background: none;
  border: 0;
  color: #fff;
  font-size: 38px;
  font-weight: 200;
  cursor: pointer;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 750px) {
  .site-header {
    height: 65px;
    padding: 0 20px;
  }
  .nav-links {
    display: none;
  }
  .hero {
    min-height: 630px;
    padding: 62px 28px;
    align-items: flex-start;
  }
  .hero h1 {
    font-size: 49px;
  }
  .hero-art {
    transform: scale(0.72);
    transform-origin: bottom right;
    right: -70px;
  }
  .scroll-hint {
    left: 28px;
  }
  .featured,
  .reviews-section {
    padding: 70px 22px;
  }
  .section-heading h2 {
    font-size: 32px;
  }
  .featured-book {
    height: auto;
    display: block;
  }
  .featured-book > img {
    width: 100%;
    height: 180px;
  }
  .featured-content {
    padding: 28px;
  }
  .quote-mark {
    font-size: 120px;
  }
  .review-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .review-card {
    min-height: 210px;
  }
  .filter-buttons {
    margin-top: 20px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .write-section {
    grid-template-columns: 1fr;
    padding: 70px 28px;
    gap: 55px;
  }
  .write-intro h2 {
    font-size: 39px;
  }
  footer {
    padding: 28px 22px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .desktop-only {
    display: none;
  }
  .hero-description {
    font-size: 13px;
  }
}
