/* The library world: ivory paper, faded ink, dusty mauve and antique brass. */
:root {
  --forest: #45404e;
  --forest-deep: #332f3a;
  --forest-2: #595160;
  --paper: #f7f2ed;
  --paper-2: #eee4dc;
  --ink: #45404e;
  --brass: #a68957;
  --brass-2: #e7d6b9;
  --moss: #756a70;
  --muted: #786d74;
  --line-dark: #dcd0c9;
}
body {
  background: var(--paper);
  color: var(--ink);
}
.top {
  max-width: none;
  padding-block: 24px;
}
.logo {
  font-family: var(--serif);
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.top-nav > a {
  font-size: 12px;
  text-decoration: none;
  letter-spacing: 0.08em;
}
.top-nav > a:hover {
  color: #8c5f73;
}
.top-link {
  background: #fcf8f1e8;
  border: 1px solid #b5a49a;
  color: var(--ink);
  border-radius: 3px;
}
.top-link span {
  margin-left: 18px;
}
.hero {
  min-height: 760px;
  background: #f3ebe3;
  overflow: hidden;
}
.hero-art {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: 83%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}
.hero::before {
  background:
    linear-gradient(90deg, #f7f2ed 0%, #f7f2edf5 19%, #f7f2edd4 31%, #f7f2ed78 42%, #f7f2ed00 62%),
    linear-gradient(0deg, #f7f2ed 0%, #f7f2ed00 16%);
}
.hero > .wrap {
  width: 100%;
  max-width: 1440px;
}
.hero-copy {
  max-width: 540px;
  padding-block: 165px 135px;
}
.world-eyebrow {
  margin-bottom: 24px;
  color: #876f78;
  font-size: 10px;
  letter-spacing: 0.23em;
  font-weight: 500;
}
.hero h1 {
  color: var(--ink);
  font-size: clamp(36px, 3.4vw, 49px);
  line-height: 1.65;
  letter-spacing: 0.09em;
}
.hero-subtitle {
  margin-top: 20px;
  font-family: var(--serif);
  letter-spacing: 0.2em;
  font-size: 17px;
}
.hero-lead {
  max-width: 30em;
  color: #665a61;
  font-size: 13px;
  line-height: 2.3;
  margin-top: 25px;
}
.hero-note {
  color: #77676e;
  font-size: 11px;
}
.btn {
  border-radius: 3px;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.btn-primary {
  background: #55505f;
  border-color: #55505f;
  color: #fff8ef;
  box-shadow: 0 5px 15px #4a35441a;
}
.btn-primary span {
  margin-left: 24px;
}
.btn-primary:hover {
  background: #6b5d72;
  border-color: #6b5d72;
}
.btn-ghost {
  color: #554953;
  border-color: #b6a3a6;
  background: #fbf5ef91;
}
.btn-ghost:hover {
  border-color: #786371;
  background: #fff8f2;
}
.hero-folio {
  position: absolute;
  bottom: 30px;
  right: var(--gutter);
  color: #6d5963;
  font-size: 10px;
  letter-spacing: 0.2em;
}
.story-section {
  position: relative;
  text-align: center;
  padding-block: 85px 105px;
}
.story-seal {
  color: #b09871;
  font-size: 36px;
  margin-bottom: 20px;
}
.story-section h2 {
  margin: auto;
  line-height: 1.85;
  letter-spacing: 0.14em;
}
.story-prose {
  margin-top: 32px;
  color: #77666d;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2.2;
}
.story-prose p + p {
  margin-top: 24px;
}
.story-prose .story-invitation {
  color: #8b5f71;
  margin-top: 35px;
}
.story-margin {
  position: absolute;
  right: 40px;
  top: 45%;
  writing-mode: vertical-rl;
  font:
    italic 14px Georgia,
    serif;
  color: #a18c8e;
  letter-spacing: 0.1em;
}
.characters-section {
  background: #efe6e1;
  border-block: 1px solid #e3d7cf;
}
.characters-section .section {
  padding-block: 85px;
}
.section-lead {
  color: #786b70;
  font-size: 14px;
  line-height: 2;
}
.character-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 44px;
}
.character {
  min-width: 0;
}
.character-portrait {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 120px 120px 3px 3px;
  background: #e0d1c8;
}
.character-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transition: transform 0.6s;
}
.character:hover .character-portrait img {
  transform: scale(1.025);
}
.character-lumi .character-portrait {
  background: radial-gradient(ellipse, #fff9ef, #ded0d0);
}
.character-lumi .character-portrait img {
  object-fit: contain;
  padding: 15px;
}
.character-copy {
  padding: 25px 4px 0;
}
.character-role {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #816d76;
  margin-bottom: 8px;
}
.character h3 {
  font-size: 25px;
}
.character h3 span {
  display: block;
  margin-top: 5px;
  font:
    italic 12px Georgia,
    serif;
  letter-spacing: 0.08em;
  color: #917582;
}
.character-copy > p:not(.character-role) {
  margin-top: 18px;
  font-size: 12px;
  line-height: 2.1;
  color: #72646b;
}
.character blockquote {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid #d8c6bf;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.9;
  color: #865e70;
}
.feature h3 {
  color: var(--ink);
  font-size: 20px;
}
.feature p,
.card-caption,
.steps p,
.templates p,
.privacy p,
.faq details p {
  color: #72676c;
  font-size: 14px;
}
.feature {
  border-top: 1px solid #d9ccc5;
  padding-top: 22px;
}
.features {
  margin-top: 35px;
  gap: 32px 48px;
}
.card {
  background: #fffaf2;
  box-shadow: 0 14px 40px #5441511c;
  border: 1px solid #e2d5c8;
}
.card-back {
  box-shadow: 0 12px 30px #5441511c;
}
.card-hint {
  background: #efe5dd;
  color: #6b5763;
}
.steps h3,
.templates h3,
.privacy strong,
.faq summary {
  color: var(--ink);
}
.steps li::before {
  color: #947682;
}
.closing {
  text-align: center;
  padding-block: 70px 85px;
}
.closing > img {
  display: block;
  margin: 0 auto 20px;
  object-fit: contain;
}
.closing h2 {
  line-height: 1.8;
}
.closing .actions {
  justify-content: center;
  margin-top: 28px;
}
.closing .world-eyebrow {
  margin-bottom: 16px;
}
footer.wrap {
  color: #7d6a74;
  border-top: 1px solid #dccfc8;
}
@media (min-width: 1600px) {
  .hero-art {
    object-position: center 43%;
  }
}
@media (max-width: 800px) {
  .top-nav {
    gap: 18px;
  }
  .top-nav > a:not(.top-link) {
    display: none;
  }
  .hero {
    min-height: 900px;
    align-items: start;
  }
  .hero-art {
    width: 100%;
    height: 490px;
    top: auto;
    bottom: 0;
    object-position: 78% 45%;
    mask-image: linear-gradient(180deg, transparent, #000 18%, #000 92%, transparent);
  }
  .hero::before {
    background: linear-gradient(180deg, #f7f2ed 0%, #f7f2ed 40%, #f7f2ed00 66%, #f7f2ed00 90%, #f7f2ed 100%);
  }
  .hero-copy {
    padding-block: 118px 400px;
    max-width: 100%;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-lead {
    font-size: 13px;
  }
  .hero-subtitle {
    font-size: 15px;
    margin-top: 14px;
  }
  .hero .actions {
    margin-top: 24px;
  }
  .hero-folio {
    bottom: 18px;
    font-size: 8px;
  }
  .character-grid {
    gap: 20px;
  }
  .character h3 {
    font-size: 22px;
  }
  .character-portrait {
    border-radius: 85px 85px 3px 3px;
  }
  .story-margin {
    right: 15px;
  }
}
@media (max-width: 560px) {
  .top {
    padding-block: 18px;
  }
  .top-nav .top-link {
    font-size: 10px;
    padding: 7px 11px;
  }
  .top-link span {
    margin-left: 8px;
  }
  .logo {
    font-size: 15px;
    gap: 8px;
  }
  .hero {
    min-height: 860px;
  }
  .hero-copy {
    padding-top: 108px;
    padding-bottom: 375px;
  }
  .hero h1 {
    font-size: clamp(26px, 7.8vw, 40px);
    line-height: 1.6;
  }
  .hero .world-eyebrow {
    font-size: 8px;
    margin-bottom: 18px;
  }
  .hero-art {
    height: 405px;
  }
  .hero::before {
    background: linear-gradient(180deg, #f7f2ed 0%, #f7f2ed 49%, #f7f2ed00 67%, #f7f2ed00 91%, #f7f2ed 100%);
  }
  .hero-lead {
    font-size: 12px;
    margin-top: 20px;
  }
  .hero .btn {
    padding-inline: 14px;
    font-size: 11px;
  }
  .hero .actions {
    gap: 10px;
  }
  .hero-folio {
    letter-spacing: 0.08em;
  }
  .story-section {
    padding-block: 60px 70px;
  }
  .story-prose {
    font-size: 12px;
  }
  .story-margin {
    display: none;
  }
  .characters-section .section {
    padding-block: 65px;
  }
  .characters-section h2 {
    font-size: 24px;
  }
  .character-grid {
    grid-template-columns: 1fr;
    gap: 46px;
    max-width: 330px;
    margin-inline: auto;
  }
  .character-portrait {
    aspect-ratio: 4 / 5;
    border-radius: 150px 150px 3px 3px;
  }
  .character-copy {
    padding-top: 22px;
  }
  .character h3 span {
    display: inline;
    margin-left: 14px;
  }
  .character-copy > p:not(.character-role) {
    font-size: 13px;
  }
  .character blockquote {
    font-size: 15px;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .closing h2 {
    font-size: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .character-portrait img {
    transition: none;
  }
}
