:root {
  --bg: #f8f5ef;
  --paper: #fffdf9;
  --ink: #2e2b28;
  --muted: #6a635c;
  --line: #e7dfd2;
  --accent: #8d6f56;
  --accent-ink: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  background-color: var(--bg);
  background-image: linear-gradient(rgba(248, 245, 239, 0.72), rgba(248, 245, 239, 0.72)), url("assets/background.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.6;
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 245, 239, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 4px;
}

.brand strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
}

nav a.active,
nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.nav-social-symbols {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.25rem;
}

.nav-social-symbols svg {
  width: 17px;
  height: 17px;
  fill: #111;
  opacity: 0.9;
}

.nav-social-symbols a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 4px;
  text-decoration: none;
  position: relative;
  padding-bottom: 5px;
  border-bottom: none;
}

.nav-social-symbols a:hover svg {
  opacity: 1;
}

.nav-social-symbols a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: transparent;
}

.nav-social-symbols a:hover::after {
  background: var(--accent);
}

.nav-social-symbols a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

main {
  padding-block: 2.5rem 4rem;
}

section + section {
  margin-top: 3.25rem;
}

.about + .collections {
  margin-top: 5.1rem;
}

.soft-divider {
  border-top: 1px solid rgba(141, 111, 86, 0.24);
  margin-top: 2.4rem;
  margin-bottom: 1.25rem;
}

.hero {
  text-align: center;
  padding: 3rem 1rem 2rem;
}

.eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.65rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 6vw, 4.3rem);
}

.tagline {
  max-width: 62ch;
  margin: 1rem auto 0;
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1.05rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-secondary {
  color: var(--ink);
  border-color: rgba(166, 126, 125, 0.45);
  background: #dfc8c7;
}

.hero .btn-primary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--paper);
}

.btn-primary:hover {
  background: #7f624b;
}

.hero .btn-primary:hover {
  background: #f4eee5;
}

.btn-secondary:hover {
  background: #d8bfbf;
}

.section-head {
  margin-bottom: 1rem;
}

.home-page .section-head {
  margin-bottom: 1.45rem;
}

.home-page .collections + .newsletter {
  margin-top: 4rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 2.9vw, 2.2rem);
}

.page-intro {
  text-align: center;
  padding: 1.2rem 0 0.3rem;
}

.page-intro .tagline {
  margin-top: 0.75rem;
}

.featured-carousel {
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.88);
  border-radius: 16px;
  padding: 0.72rem 1rem;
}

.featured {
  background: linear-gradient(180deg, rgba(224, 209, 188, 0.56), rgba(224, 209, 188, 0.56));
  border-top: 1px solid rgba(141, 111, 86, 0.24);
  border-bottom: 1px solid rgba(141, 111, 86, 0.24);
  padding-block: 1.45rem;
}

.featured-carousel:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.featured-stage {
  position: relative;
  display: grid;
  padding-inline: 2.8rem;
  min-height: 460px;
}

.featured-slide {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 320ms ease, transform 320ms ease, visibility 0s linear 320ms;
}

.featured-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 320ms ease, transform 320ms ease, visibility 0s linear 0s;
}

.featured-grid,
.about-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.featured .cover-frame,
.about img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.featured img,
.about img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.cover-frame.placeholder {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  background: #f0e9dd;
}

.cover-frame.placeholder span {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  max-width: 20ch;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.95);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.carousel-arrow.prev {
  left: 0.45rem;
}

.carousel-arrow.next {
  right: 0.45rem;
}

.carousel-arrow:focus-visible,
.dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.carousel-dots {
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: #d4cab9;
  cursor: pointer;
}

.dot.is-active {
  background: var(--accent);
}

.hook {
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.featured-grid h3 {
  margin-bottom: 1rem;
}

.featured-grid .hook {
  margin-bottom: 1.15rem;
}

.text-link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.collections-grid {
  display: grid;
  gap: 2.4rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.15rem;
}

.collections-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.08rem;
  align-items: start;
}

.studio-logo-wrap {
  display: flex;
  justify-content: center;
}

.studio-logo-wrap img {
  width: min(210px, 26vw);
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.65rem;
}

.collections-grid article {
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}

.collections-grid h3 {
  font-size: 1.1rem;
}

.collections-grid p {
  margin-top: 1.1rem;
  color: var(--muted);
}

.collections-footer-note {
  margin-top: 3.2rem;
}

.about-grid p {
  color: var(--muted);
}

.founder-band {
  background: linear-gradient(180deg, rgba(224, 209, 188, 0.56), rgba(224, 209, 188, 0.56));
  border-top: 1px solid rgba(141, 111, 86, 0.24);
  border-bottom: 1px solid rgba(141, 111, 86, 0.24);
  padding-block: 2rem;
}

.body-copy {
  margin-top: 1.1rem;
  color: var(--muted);
}

.detail-section {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.content-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 1rem;
}

.content-card p {
  margin-top: 1.1rem;
  color: var(--muted);
}

.content-card a {
  color: var(--accent);
}

.books-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
}

.book-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 0.9rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.book-card .cover-frame {
  border-radius: 12px;
  overflow: hidden;
}

.book-card .cover-frame img {
  display: block;
  width: 100%;
  height: auto;
}

[data-reaper-trigger] {
  cursor: pointer;
}

.reaper-swing-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 40;
}

.reaper-swinger {
  position: absolute;
  top: 14vh;
  left: -360px;
  width: min(380px, 44vw);
  height: auto;
  opacity: 0;
  transform-origin: 44% 78%;
}

.reaper-scythe-image {
  height: auto;
  object-fit: contain;
}

.reaper-swing-overlay::after {
  content: "";
  position: absolute;
  left: -28%;
  top: 42%;
  width: 36%;
  height: 3px;
  background: linear-gradient(90deg, rgba(140, 0, 0, 0), rgba(140, 0, 0, 0.85), rgba(255, 220, 220, 0));
  opacity: 0;
  transform: rotate(-17deg);
  transform-origin: left center;
}

.reaper-swing-overlay.is-active .reaper-swinger {
  animation: reaper-sweep 1200ms cubic-bezier(0.2, 0.72, 0.18, 1) forwards;
}

.reaper-swing-overlay.is-active::after {
  animation: reaper-trail 1200ms cubic-bezier(0.2, 0.72, 0.18, 1) forwards;
}

@keyframes reaper-sweep {
  0% {
    opacity: 0;
    transform: translateX(0) translateY(20px) rotate(14deg) scale(0.95);
  }
  12% {
    opacity: 1;
  }
  52% {
    opacity: 1;
    transform: translateX(58vw) translateY(-12px) rotate(-7deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(calc(108vw + 360px)) translateY(-24px) rotate(-14deg) scale(1.02);
  }
}

@keyframes reaper-trail {
  0% {
    opacity: 0;
    transform: translateX(0) rotate(-17deg);
  }
  28% {
    opacity: 0;
  }
  46% {
    opacity: 0.85;
    transform: translateX(58vw) rotate(-14deg);
  }
  78% {
    opacity: 0.28;
    transform: translateX(106vw) rotate(-10deg);
  }
  100% {
    opacity: 0;
    transform: translateX(calc(106vw + 380px)) rotate(-6deg);
  }
}

.book-kicker {
  margin-top: 0.75rem;
  margin-bottom: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.book-card p {
  margin-top: 1.1rem;
  color: var(--muted);
  max-width: 36ch;
}

.status-pill {
  margin-top: 0.8rem;
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.42rem;
  font-size: 0.68rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--muted);
  margin-top: auto;
}

.books-footer-note {
  margin-top: 3.6rem;
  font-size: 1.02rem;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: var(--ink);
}

.contact-cta {
  margin-top: 1rem;
}

.contact-page .contact-cta {
  margin-top: 1.55rem;
}

.contact-cta .btn-primary {
  color: #ffffff;
  border-color: transparent;
  background: var(--accent);
}

.contact-cta .btn-primary:hover {
  color: #ffffff;
  background: #6f5540;
  border-color: #6f5540;
}

.contact-note {
  max-width: 62ch;
  color: var(--muted);
}

.contact-note a {
  color: var(--ink);
}

.contact-newsletter .newsletter-form button {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--paper);
}

.social-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-social-layout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.social-vertical-symbols {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 0.25rem;
}

.social-vertical-symbols svg {
  width: 18px;
  height: 18px;
  fill: #111;
  opacity: 0.9;
}

.social-vertical-symbols a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  text-decoration: none;
}

.social-vertical-symbols a:hover svg {
  opacity: 1;
}

.social-vertical-symbols a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.social-grid a {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 1rem 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 56px;
  font-size: 0.95rem;
  width: 100%;
  text-align: center;
}

.social-grid a:hover {
  background: #f1ece5;
  border-color: #d8ccb9;
}

.contact-page .social-grid {
  grid-template-columns: 1fr;
  max-width: 44%;
}

.contact-page .contact-social-layout {
  grid-template-columns: minmax(0, 1fr);
}

.social-grid a svg {
  width: 22px;
  height: 22px;
  fill: #111;
  opacity: 0.9;
  flex: 0 0 auto;
}

.newsletter-form {
  max-width: 680px;
  display: grid;
  gap: 0.65rem;
}

.newsletter {
  background: linear-gradient(180deg, rgba(223, 200, 199, 0.58), rgba(223, 200, 199, 0.58));
  border-top: 1px solid rgba(166, 126, 125, 0.28);
  border-bottom: 1px solid rgba(166, 126, 125, 0.28);
  padding-block: 2rem;
}

.newsletter .ml-embedded {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.newsletter .shell {
  text-align: left;
}

.newsletter .ml-embedded,
.newsletter .ml-embedded .ml-form-embedContainer,
.newsletter .ml-embedded .ml-form-align-center {
  display: block !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}

.blush-band {
  background: linear-gradient(180deg, rgba(232, 198, 197, 0.58), rgba(232, 198, 197, 0.58));
  border-top: 1px solid rgba(166, 126, 125, 0.28);
  border-bottom: 1px solid rgba(166, 126, 125, 0.28);
  padding-block: 1.1rem;
}

.newsletter-form label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

.newsletter-form input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: var(--paper);
}

.newsletter-form button {
  width: fit-content;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.newsletter-form button:hover {
  background: #7f624b;
}

.contact-page .newsletter-form button {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}

.contact-page .newsletter-form button:hover {
  background: #f1ece5;
}

.contact-page .newsletter + .detail-section {
  margin-top: 4rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 1.1rem 1.6rem;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  column-gap: 1.25rem;
  row-gap: 0.45rem;
}

.social-links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  align-items: center;
}

.social-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.86rem;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-bottom-color 160ms ease;
}

.social-links a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.social-symbols {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.social-symbols svg {
  width: 14px;
  height: 14px;
  fill: #111;
  opacity: 0.9;
}

.site-footer p {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0;
  justify-self: end;
  text-align: right;
}

.site-footer .footer-copyright {
  grid-column: 2;
  justify-self: end;
  text-align: right;
}

.site-footer .footer-legal {
  color: var(--ink);
}

.site-footer .footer-sep {
  margin-inline: 0.5rem;
}

.legal-page .site-footer .footer-legal {
  grid-column: 1;
  justify-self: start;
  text-align: left;
}

.legal-page .site-footer .footer-copyright {
  grid-column: 2;
  justify-self: end;
  text-align: right;
}

.site-footer p a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-bottom-color 160ms ease;
}

.site-footer p a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .featured-slide {
    transition: none;
  }

  .reaper-swing-overlay.is-active .reaper-swinger,
  .reaper-swing-overlay.is-active::after {
    animation: none;
  }
}

@media (max-width: 900px) {
  .featured-stage {
    padding-inline: 2.45rem;
    min-height: 420px;
  }

  .featured-grid,
  .about-grid,
  .collections-grid,
  .collections-layout,
  .contact-social-layout,
  .content-card-grid,
  .books-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .featured-stage {
    padding-inline: 2.2rem;
    min-height: auto;
  }

  .nav-wrap {
    padding-block: 0.7rem;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  main {
    padding-top: 1.7rem;
  }
}
