/* ---------- Local type ---------- */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/dm-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/dm-mono-300-latin.woff2") format("woff2");
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/dm-mono-400-latin.woff2") format("woff2");
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/dm-mono-500-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Klee One";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/klee-one-600-latin.woff2") format("woff2");
}

/* ---------- Foundation ---------- */
:root {
  --white: #fff;
  --blush: #fff8fb;
  --pink-50: #fff0f5;
  --pink-100: #f8dde6;
  --pink-200: #f4cbd7;
  --rose: #c8788e;
  --berry: #87384e;
  --berry-dark: #682a3d;
  --brown: #5e3d32;
  --brown-soft: #7a5b50;
  --peach: #e8b494;
  --lavender: #c8bde8;
  --green: #a8b98d;
  --cream: #fffdf8;
  --line: rgba(94, 61, 50, 0.18);
  --shadow: 0 16px 50px rgba(94, 61, 50, 0.08);
  --sans: "DM Sans", "Noto Sans", Arial, sans-serif;
  --hand: "Klee One", "Noto Sans JP", cursive;
  --mono: "DM Mono", "IBM Plex Mono", monospace;
  --page: min(1180px, calc(100% - 48px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brown);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

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

p,
h1,
h2,
h3,
blockquote {
  margin-top: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(135, 56, 78, 0.36);
  outline-offset: 4px;
}

.page-shell {
  width: var(--page);
  margin-inline: auto;
}

.section {
  padding: 120px 0;
  position: relative;
}

.sr-only {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--berry);
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Announcement ---------- */
.announcement {
  position: relative;
  z-index: 30;
  color: var(--berry-dark);
  background: var(--pink-100);
  border-bottom: 1px solid rgba(135, 56, 78, 0.1);
}

.announcement__inner {
  min-height: 38px;
  width: var(--page);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.announcement p {
  margin: 0;
}

.announcement a {
  margin-left: 7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  line-height: 1.4;
}

.announcement a svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.announcement__petal {
  width: 8px;
  height: 12px;
  display: inline-block;
  background: var(--rose);
  border-radius: 75% 0 75% 30%;
  transform: rotate(35deg);
  opacity: 0.65;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  z-index: 25;
  top: 0;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 5px 24px rgba(94, 61, 50, 0.05);
}

.site-header__inner {
  width: var(--page);
  min-height: 82px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  min-width: 230px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand__mark {
  width: 48px;
  height: 48px;
  flex: none;
  overflow: hidden;
  border: 1px solid rgba(200, 120, 142, 0.25);
  border-radius: 50%;
  background: var(--white);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}

.brand__words {
  line-height: 1.2;
}

.brand__words strong {
  display: block;
  color: var(--berry);
  font-family: var(--hand);
  font-size: 16px;
  font-weight: 600;
}

.brand__words span {
  display: block;
  margin-top: 4px;
  color: var(--brown-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 31px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.035em;
}

.site-nav > a:not(.nav-support) {
  position: relative;
  padding: 8px 0;
}

.site-nav > a:not(.nav-support)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.site-nav > a:not(.nav-support):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-support {
  min-height: 40px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  background: var(--berry);
  border: 1px solid var(--berry);
  border-radius: 7px;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-support:hover {
  background: var(--berry-dark);
  transform: translateY(-2px);
}

.nav-support span {
  font-family: var(--sans);
  font-size: 16px;
}

.menu-toggle {
  display: none;
  color: var(--berry);
  background: none;
  border: 0;
  cursor: pointer;
}

/* ---------- Type & shared ---------- */
.eyebrow,
.kicker,
.card-meta {
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--berry);
  font-size: 11px;
  font-weight: 500;
}

.eyebrow > span {
  width: 26px;
  height: 1px;
  position: relative;
  background: var(--rose);
}

.eyebrow > span::after {
  content: "";
  width: 4px;
  height: 4px;
  position: absolute;
  top: -1.5px;
  right: 0;
  border-radius: 50%;
  background: var(--rose);
}

.kicker {
  margin-bottom: 23px;
  color: var(--berry);
  font-size: 11px;
  font-weight: 500;
}

.kicker span {
  margin-right: 8px;
  color: #a14f67;
}

.kicker--light {
  color: var(--pink-200);
}

.kicker--light span {
  color: #ffd2b8;
}

h1,
h2 {
  color: var(--brown);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(48px, 5.5vw, 76px);
}

h1 em {
  position: relative;
  color: var(--berry);
  font-family: var(--hand);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.055em;
}

h1 em::after {
  content: "";
  position: absolute;
  height: 7px;
  right: 1%;
  bottom: -2px;
  left: 2%;
  opacity: 0.65;
  background: url("data:image/svg+xml,%3Csvg width='500' height='10' viewBox='0 0 500 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 7c100-7 210 4 310-2 75-4 130 0 186-2' fill='none' stroke='%23e8b494' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(39px, 4.8vw, 61px);
}

.handwritten {
  position: relative;
  color: var(--berry);
  font-family: var(--hand);
  font-weight: 600;
  letter-spacing: -0.055em;
}

.handwritten::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg width='300' height='8' viewBox='0 0 300 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5c63-4 112 1 173-1 43-2 85 1 123-2' fill='none' stroke='%23e8b494' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.button {
  min-height: 53px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--berry);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: transform 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button:hover svg {
  transform: translateX(3px);
}

.button--primary {
  color: var(--white);
  background: var(--berry);
  box-shadow: 0 9px 22px rgba(135, 56, 78, 0.15);
}

.button--primary:hover {
  background: var(--berry-dark);
  box-shadow: 0 12px 28px rgba(135, 56, 78, 0.19);
}

.button--secondary {
  color: var(--berry);
  background: rgba(255, 255, 255, 0.85);
}

.button--secondary:hover {
  background: var(--pink-50);
}

.button--cream {
  color: var(--berry);
  background: var(--cream);
  border-color: var(--cream);
}

.button--cream:hover {
  background: var(--white);
  border-color: var(--white);
}

.text-link {
  width: fit-content;
  padding-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--berry);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--rose);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(2px, -2px);
}

.text-link--large {
  font-size: 12px;
}

.section-heading--split {
  margin-bottom: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.6fr);
  align-items: end;
  gap: 100px;
}

.section-heading__aside {
  padding-bottom: 4px;
}

.section-heading__aside p {
  margin-bottom: 21px;
  color: var(--brown-soft);
  font-size: 15px;
  line-height: 1.75;
}

/* ---------- Hero ---------- */
.hero {
  padding: 66px 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 6%, rgba(244, 203, 215, 0.28), transparent 29%),
    linear-gradient(180deg, var(--white), var(--blush) 90%);
}

.hero__grid {
  min-height: 635px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(410px, 0.9fr);
  align-items: center;
  gap: clamp(40px, 6vw, 92px);
}

.hero__copy {
  padding-bottom: 34px;
}

.hero__lede {
  max-width: 630px;
  margin-bottom: 31px;
  color: var(--brown-soft);
  font-size: 18px;
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__note {
  max-width: 560px;
  margin-top: 27px;
  padding-top: 21px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-top: 1px solid rgba(94, 61, 50, 0.12);
  color: var(--brown-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.01em;
}

.hero__note p {
  margin: 0;
}

.pin {
  width: 25px;
  height: 25px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--berry);
  background: var(--pink-100);
  border-radius: 50%;
}

.pin svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.hero__art {
  min-height: 545px;
  position: relative;
  display: grid;
  place-items: center;
}

.hero__halo {
  width: 420px;
  height: 420px;
  position: absolute;
  border-radius: 50%;
  background: rgba(244, 203, 215, 0.32);
}

.hero__halo::after {
  content: "";
  position: absolute;
  inset: 36px;
  border: 1px solid rgba(200, 120, 142, 0.28);
  border-radius: inherit;
}

.hero__grid-pattern {
  width: 370px;
  height: 370px;
  position: absolute;
  opacity: 0.44;
  border-radius: 50%;
  background-image:
    linear-gradient(rgba(200, 120, 142, 0.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 120, 142, 0.17) 1px, transparent 1px);
  background-size: 35px 35px;
  mask-image: radial-gradient(circle, black 48%, transparent 73%);
}

.hero__logo-card {
  width: min(385px, 86%);
  position: relative;
  z-index: 2;
  padding: 19px 19px 14px;
  background: var(--white);
  border: 1px solid rgba(200, 120, 142, 0.22);
  box-shadow: 0 24px 60px rgba(94, 61, 50, 0.12);
  transform: rotate(-1.8deg);
}

.hero__logo-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.hero__caption {
  padding-top: 10px;
  display: block;
  text-align: center;
  color: var(--brown-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.tape {
  width: 80px;
  height: 21px;
  position: absolute;
  z-index: 4;
  opacity: 0.7;
  background:
    linear-gradient(90deg, transparent 4px, rgba(255, 255, 255, 0.38) 4px 6px, transparent 6px),
    rgba(232, 180, 148, 0.63);
  clip-path: polygon(2% 7%, 99% 0, 96% 94%, 0 100%);
}

.tape--top {
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(1deg);
}

.sparkle {
  position: absolute;
  z-index: 3;
  color: var(--lavender);
  line-height: 1;
}

.sparkle--one {
  top: 12%;
  right: 5%;
  font-size: 31px;
}

.sparkle--two {
  bottom: 13%;
  left: 1%;
  color: var(--green);
  font-size: 19px;
}

.sparkle--three {
  top: 23%;
  left: 1%;
  color: #9dcde8;
  font-size: 15px;
}

.floating-petal,
.support__petal {
  position: absolute;
  z-index: 3;
  display: block;
  background: var(--pink-200);
  border: 1px solid rgba(200, 120, 142, 0.33);
  border-radius: 80% 0 80% 30%;
}

.floating-petal--one {
  width: 18px;
  height: 26px;
  top: 5%;
  left: 20%;
  transform: rotate(28deg);
  animation: petal-float 5.4s ease-in-out infinite;
}

.floating-petal--two {
  width: 12px;
  height: 18px;
  right: 0;
  bottom: 31%;
  transform: rotate(78deg);
  animation: petal-float 6.3s 0.8s ease-in-out infinite;
}

.floating-petal--three {
  width: 9px;
  height: 14px;
  bottom: 9%;
  left: 21%;
  transform: rotate(-15deg);
  animation: petal-float 5.8s 1.3s ease-in-out infinite;
}

@keyframes petal-float {
  0%,
  100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 4px -10px; rotate: 8deg; }
}

.hero__bookmark {
  width: 58px;
  height: 74px;
  position: absolute;
  z-index: 4;
  right: 1%;
  bottom: 15%;
  display: grid;
  place-items: center;
  color: var(--berry);
  background: var(--cream);
  border: 1px solid rgba(135, 56, 78, 0.28);
  box-shadow: 0 9px 22px rgba(94, 61, 50, 0.08);
  transform: rotate(7deg);
}

.hero__bookmark::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 16px;
  background: var(--blush);
  clip-path: polygon(0 100%, 0 0, 50% 68%, 100% 0, 100% 100%);
}

.hero__bookmark svg {
  width: 27px;
  margin-top: -8px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
}

.chapter-strip {
  min-height: 118px;
  padding: 26px 33px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 45px;
  color: var(--cream);
  background: var(--berry);
  border-radius: 10px 10px 0 0;
}

.chapter-strip__label {
  display: flex;
  align-items: center;
  gap: 18px;
}

.chapter-strip__label span {
  flex: none;
  padding: 5px 9px;
  color: var(--berry);
  background: var(--pink-200);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.chapter-strip__label strong {
  font-family: var(--hand);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.chapter-strip__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.chapter-strip__facts > div {
  padding: 0 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.chapter-strip__facts strong,
.chapter-strip__facts span {
  display: block;
}

.chapter-strip__facts strong {
  color: var(--pink-200);
  font-size: 22px;
  font-weight: 600;
}

.chapter-strip__facts span {
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Library ---------- */
.library {
  overflow: hidden;
  background: var(--white);
}

.library::before {
  content: "✿";
  position: absolute;
  top: 52px;
  right: max(24px, calc((100% - 1300px) / 2));
  color: var(--pink-100);
  font-size: 92px;
  line-height: 1;
  transform: rotate(12deg);
}

.catalog {
  padding: 26px;
  background: var(--blush);
  border: 1px solid rgba(200, 120, 142, 0.18);
  border-radius: 12px;
}

.catalog__toolbar {
  display: flex;
  gap: 12px;
}

.catalog-search {
  min-height: 55px;
  padding: 0 16px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brown-soft);
  background: var(--white);
  border: 1px solid rgba(94, 61, 50, 0.16);
  border-radius: 7px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.catalog-search:focus-within {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(200, 120, 142, 0.1);
}

.catalog-search svg {
  width: 19px;
  flex: none;
  fill: none;
  stroke: var(--berry);
  stroke-linecap: round;
  stroke-width: 1.6;
}

.catalog-search input {
  min-width: 0;
  flex: 1;
  color: var(--brown);
  background: transparent;
  border: 0;
  outline: 0;
  font-family: var(--mono);
  font-size: 12px;
}

.catalog-search input::placeholder {
  color: rgba(94, 61, 50, 0.5);
}

.catalog-search kbd {
  padding: 3px 7px;
  color: rgba(94, 61, 50, 0.55);
  background: var(--blush);
  border: 1px solid rgba(94, 61, 50, 0.12);
  border-radius: 4px;
  box-shadow: inset 0 -1px 0 rgba(94, 61, 50, 0.1);
  font-family: var(--mono);
  font-size: 9px;
}

.filter-toggle {
  min-height: 55px;
  padding: 0 19px;
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--berry);
  background: var(--white);
  border: 1px solid rgba(135, 56, 78, 0.25);
  border-radius: 7px;
  font-family: var(--mono);
  font-size: 11px;
}

.filter-toggle svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.catalog__filters {
  padding: 18px 0 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 34px;
  padding: 0 13px;
  color: var(--brown-soft);
  background: transparent;
  border: 1px solid rgba(94, 61, 50, 0.18);
  border-radius: 17px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.chip:hover,
.chip.is-active {
  color: var(--white);
  background: var(--berry);
  border-color: var(--berry);
}

.catalog__count {
  margin: 0 0 0 auto;
  color: var(--brown-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.catalog__count strong {
  color: var(--berry);
}

.shelf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.shelf-card {
  min-width: 0;
  padding: 14px;
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  gap: 15px;
  background: var(--white);
  border: 1px solid rgba(94, 61, 50, 0.15);
  border-radius: 8px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.shelf-card:hover {
  border-color: rgba(135, 56, 78, 0.45);
  box-shadow: 0 12px 28px rgba(94, 61, 50, 0.08);
  transform: translateY(-5px);
}

.shelf-card[hidden] {
  display: none;
}

.book-cover {
  min-height: 224px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--brown);
  border: 1px solid rgba(94, 61, 50, 0.13);
  border-radius: 4px 8px 8px 4px;
  box-shadow:
    inset 5px 0 0 rgba(255, 255, 255, 0.22),
    3px 5px 0 rgba(94, 61, 50, 0.06);
  isolation: isolate;
}

.book-cover::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(94, 61, 50, 0.13) 0.65px, transparent 0.65px);
  background-size: 4px 4px;
  opacity: 0.15;
}

.book-cover > div {
  width: 100%;
  position: relative;
  z-index: 3;
  padding: 16px 12px 17px 15px;
}

.book-cover small,
.book-cover strong,
.book-cover > div > span {
  display: block;
}

.book-cover small {
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.book-cover strong {
  font-family: var(--hand);
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.book-cover > div > span {
  margin-top: 7px;
  font-family: var(--hand);
  font-size: 8px;
}

.book-cover__number {
  position: absolute;
  z-index: 4;
  top: 8px;
  right: 8px;
  font-family: var(--mono);
  font-size: 7px;
}

.book-cover--soft {
  background: #f7dce5;
}

.book-cover__sun {
  width: 73px;
  height: 73px;
  position: absolute;
  top: 27px;
  left: 50%;
  border: 1px solid rgba(135, 56, 78, 0.3);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.68);
  transform: translateX(-50%);
}

.book-cover__flower {
  position: absolute;
  z-index: 2;
  top: 48px;
  left: 50%;
  color: var(--rose);
  font-size: 36px;
  line-height: 1;
  transform: translateX(-50%) rotate(-9deg);
}

.book-cover--worlds {
  color: #fff8f3;
  background: #6c4667;
}

.book-cover__moon {
  width: 88px;
  height: 88px;
  position: absolute;
  top: 19px;
  right: -15px;
  border-radius: 50%;
  background: #e3b9c9;
}

.book-cover__moon::after {
  content: "";
  width: 76px;
  height: 76px;
  position: absolute;
  top: -7px;
  left: -11px;
  border-radius: 50%;
  background: #6c4667;
}

.book-cover__orbit {
  width: 114px;
  height: 44px;
  position: absolute;
  top: 42px;
  right: -30px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transform: rotate(-24deg);
}

.book-cover--joy {
  background: #e7def5;
}

.book-cover__rainbow {
  width: 105px;
  height: 105px;
  position: absolute;
  top: 24px;
  left: 9px;
  border: 10px solid rgba(200, 120, 142, 0.8);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(45deg);
}

.book-cover__rainbow::before,
.book-cover__rainbow::after {
  content: "";
  position: absolute;
  border: 8px solid;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
}

.book-cover__rainbow::before {
  inset: 5px;
  border-color: var(--peach);
  border-right-color: transparent;
  border-bottom-color: transparent;
}

.book-cover__rainbow::after {
  inset: 20px;
  border-color: var(--green);
  border-right-color: transparent;
  border-bottom-color: transparent;
}

.book-cover__star-cluster {
  position: absolute;
  top: 34px;
  right: 11px;
  color: var(--berry);
  font-size: 10px;
}

.book-cover--voices {
  color: #fffaf6;
  background: #a35f70;
}

.book-cover__arch {
  width: 96px;
  height: 126px;
  position: absolute;
  top: 22px;
  left: 50%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 55px 55px 0 0;
  transform: translateX(-50%);
}

.book-cover__arch::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: inherit;
}

.book-cover__spark {
  position: absolute;
  top: 55px;
  left: 50%;
  color: #f4d6b5;
  font-size: 27px;
  transform: translateX(-50%);
}

.book-cover--first {
  background: #d8e1c4;
}

.book-cover__page {
  width: 79px;
  height: 96px;
  position: absolute;
  top: 23px;
  left: 50%;
  background:
    linear-gradient(rgba(94, 61, 50, 0.14) 1px, transparent 1px) 10px 18px / 56px 11px,
    #fffaf3;
  border: 1px solid rgba(94, 61, 50, 0.25);
  box-shadow: 4px 4px 0 rgba(94, 61, 50, 0.12);
  transform: translateX(-50%) rotate(3deg);
}

.book-cover__pencil {
  width: 6px;
  height: 82px;
  position: absolute;
  top: 29px;
  right: 26px;
  background: var(--berry);
  border-radius: 2px;
  transform: rotate(22deg);
}

.book-cover__pencil::after {
  content: "";
  position: absolute;
  bottom: -8px;
  border-top: 9px solid var(--brown);
  border-right: 3px solid transparent;
  border-left: 3px solid transparent;
}

.book-cover--school {
  background: #f1c8b5;
}

.book-cover__window {
  width: 92px;
  height: 92px;
  position: absolute;
  top: 24px;
  right: -4px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(94, 61, 50, 0.2) 48% 52%, transparent 52%),
    linear-gradient(transparent 48%, rgba(94, 61, 50, 0.2) 48% 52%, transparent 52%),
    #d8d5ed;
  border: 5px solid rgba(255, 253, 248, 0.88);
  box-shadow: 0 0 0 1px rgba(94, 61, 50, 0.15);
}

.book-cover__petals {
  position: absolute;
  top: 40px;
  left: 15px;
  color: var(--berry);
  font-size: 16px;
  transform: rotate(24deg);
}

.shelf-card__body {
  min-width: 0;
  padding: 5px 2px 2px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card-meta {
  margin-bottom: 9px;
  color: #a14f67;
  font-size: 7px;
  font-weight: 500;
}

.shelf-card h3 {
  margin-bottom: 10px;
  color: var(--brown);
  font-family: var(--hand);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

.shelf-card__body > p:not(.card-meta) {
  margin-bottom: 13px;
  color: var(--brown-soft);
  font-size: 11px;
  line-height: 1.55;
}

.shelf-card__body a {
  margin-top: auto;
  display: inline-flex;
  gap: 6px;
  color: var(--berry);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  line-height: 1.4;
}

.shelf-card__body a span {
  transition: transform 180ms ease;
}

.shelf-card__body a:hover span {
  transform: translate(2px, -2px);
}

.catalog-empty {
  padding: 55px 20px 44px;
  text-align: center;
}

.catalog-empty[hidden] {
  display: none;
}

.catalog-empty > div {
  margin-bottom: 10px;
  color: var(--lavender);
  font-size: 32px;
}

.catalog-empty h3 {
  margin-bottom: 8px;
  color: var(--brown);
  font-family: var(--hand);
  font-size: 24px;
}

.catalog-empty p {
  margin-bottom: 18px;
  color: var(--brown-soft);
  font-size: 14px;
}

/* ---------- Pop-ups ---------- */
.popups {
  overflow: hidden;
  color: var(--white);
  background: var(--berry);
}

.popups::after {
  content: "";
  width: 330px;
  height: 330px;
  position: absolute;
  top: -130px;
  right: -90px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 40px rgba(255, 255, 255, 0.025),
    0 0 0 80px rgba(255, 255, 255, 0.018);
}

.popups__intro {
  max-width: 690px;
  margin-bottom: 62px;
}

.popups h2 {
  margin-bottom: 24px;
  color: var(--cream);
}

.popups h2 .handwritten {
  color: var(--pink-200);
}

.popups h2 .handwritten::after {
  background-image: url("data:image/svg+xml,%3Csvg width='300' height='8' viewBox='0 0 300 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5c63-4 112 1 173-1 43-2 85 1 123-2' fill='none' stroke='%23e8b494' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.popups__intro > p:last-child {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.71);
  font-size: 17px;
}

.popup-steps {
  margin-bottom: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.19);
  border-bottom: 1px solid rgba(255, 255, 255, 0.19);
}

.popup-step {
  min-height: 352px;
  position: relative;
  padding: 50px 43px 42px;
}

.popup-step + .popup-step {
  border-left: 1px solid rgba(255, 255, 255, 0.19);
}

.popup-step__index {
  position: absolute;
  top: 18px;
  right: 19px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--mono);
  font-size: 9px;
}

.popup-step__icon {
  width: 84px;
  height: 84px;
  margin-bottom: 28px;
  position: relative;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.075);
}

.popup-step__icon--books i {
  width: 14px;
  height: 52px;
  position: absolute;
  bottom: 14px;
  border: 1.5px solid var(--pink-200);
  border-radius: 2px;
}

.popup-step__icon--books i:nth-child(1) {
  left: 20px;
  background: rgba(244, 203, 215, 0.16);
  transform: rotate(-6deg);
}

.popup-step__icon--books i:nth-child(2) {
  left: 36px;
  height: 58px;
  background: rgba(232, 180, 148, 0.16);
}

.popup-step__icon--books i:nth-child(3) {
  left: 51px;
  height: 48px;
  border-color: var(--lavender);
  background: rgba(200, 189, 232, 0.16);
  transform: rotate(5deg);
}

.popup-step__icon--cup::before {
  content: "";
  width: 42px;
  height: 33px;
  position: absolute;
  top: 30px;
  left: 19px;
  border: 1.5px solid var(--pink-200);
  border-radius: 3px 3px 12px 12px;
  background: rgba(244, 203, 215, 0.12);
}

.popup-step__icon--cup::after {
  content: "";
  width: 14px;
  height: 18px;
  position: absolute;
  top: 35px;
  right: 13px;
  border: 1.5px solid var(--pink-200);
  border-left: 0;
  border-radius: 0 10px 10px 0;
}

.popup-step__icon--cup i,
.popup-step__icon--cup i::before {
  content: "";
  width: 1px;
  height: 17px;
  position: absolute;
  top: 11px;
  left: 35px;
  background: var(--peach);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.popup-step__icon--cup i::before {
  top: 3px;
  left: 11px;
  transform: rotate(14deg);
}

.popup-step__icon--game::before {
  content: "";
  width: 57px;
  height: 35px;
  position: absolute;
  top: 28px;
  left: 13px;
  border: 1.5px solid var(--pink-200);
  border-radius: 17px 17px 22px 22px;
  background: rgba(244, 203, 215, 0.1);
  transform: rotate(-3deg);
}

.popup-step__icon--game::after {
  content: "+";
  position: absolute;
  z-index: 2;
  top: 31px;
  left: 25px;
  color: var(--peach);
  font-family: var(--mono);
  font-size: 22px;
  line-height: 1;
}

.popup-step__icon--game i {
  width: 5px;
  height: 5px;
  position: absolute;
  z-index: 2;
  top: 39px;
  right: 24px;
  border-radius: 50%;
  background: var(--lavender);
}

.popup-step__icon--game i:nth-child(2) {
  top: 48px;
  right: 17px;
  background: var(--pink-200);
}

.popup-step h3 {
  margin-bottom: 13px;
  color: var(--cream);
  font-family: var(--hand);
  font-size: 22px;
  font-weight: 600;
}

.popup-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.next-popup {
  min-height: 182px;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 30px;
  color: var(--brown);
  background: var(--pink-200);
  border-radius: 9px;
}

.next-popup__doodle {
  width: 99px;
  height: 99px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.next-popup__doodle svg {
  width: 78px;
  fill: none;
  stroke: var(--berry);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.next-popup__doodle span {
  position: absolute;
  top: -2px;
  right: -1px;
  color: var(--berry);
  font-size: 19px;
}

.next-popup .card-meta {
  color: var(--berry);
}

.next-popup h3 {
  margin-bottom: 7px;
  color: var(--berry-dark);
  font-family: var(--hand);
  font-size: 24px;
  font-weight: 600;
}

.next-popup p:last-child {
  max-width: 600px;
  margin: 0;
  color: #69483d;
  font-size: 13px;
}

.next-popup .button {
  min-width: 220px;
}

/* ---------- Story ---------- */
.story {
  overflow: hidden;
  background: var(--blush);
}

.story::before {
  content: "";
  width: 500px;
  height: 500px;
  position: absolute;
  bottom: -290px;
  left: -240px;
  border: 1px solid rgba(200, 120, 142, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(200, 120, 142, 0.025),
    0 0 0 90px rgba(200, 120, 142, 0.018);
}

.story__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(70px, 10vw, 140px);
}

.story__visual {
  min-height: 530px;
  position: relative;
  display: grid;
  place-items: center;
}

.story__visual::before {
  content: "";
  width: 375px;
  height: 375px;
  position: absolute;
  border-radius: 50%;
  background: var(--pink-100);
}

.story__paper {
  width: min(388px, 90%);
  min-height: 445px;
  position: relative;
  z-index: 2;
  padding: 46px 36px 27px;
  background:
    linear-gradient(rgba(200, 120, 142, 0.08) 1px, transparent 1px) 0 0 / 100% 31px,
    var(--white);
  border: 1px solid rgba(94, 61, 50, 0.13);
  box-shadow: var(--shadow);
  transform: rotate(-2.1deg);
}

.story__paper::after {
  content: "";
  width: 13px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 18px;
  background-image: radial-gradient(circle, var(--pink-200) 3px, transparent 3.5px);
  background-size: 100% 24px;
  background-position: center 12px;
}

.tape--story {
  top: -8px;
  left: 50%;
  background-color: rgba(200, 189, 232, 0.62);
  transform: translateX(-50%) rotate(-1deg);
}

.story__scribble {
  margin-bottom: 26px;
  color: var(--rose);
  font-family: var(--hand);
  font-size: 14px;
  transform: rotate(-2deg);
}

.story blockquote {
  margin-bottom: 39px;
  padding-left: 18px;
  color: var(--berry);
  border-left: 2px solid var(--pink-200);
  font-family: var(--hand);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.44;
}

.story__shelf {
  height: 64px;
  padding: 0 12px 5px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  border-bottom: 3px solid var(--brown);
}

.story__shelf i {
  width: 30px;
  height: 52px;
  display: block;
  background: var(--pink-200);
  border: 1px solid rgba(94, 61, 50, 0.32);
  border-radius: 2px 4px 2px 2px;
}

.story__shelf i:nth-child(2) {
  height: 60px;
  background: var(--lavender);
  transform: rotate(2deg);
}

.story__shelf i:nth-child(3) {
  width: 25px;
  height: 47px;
  background: var(--peach);
}

.story__shelf i:nth-child(4) {
  height: 56px;
  background: var(--green);
  transform: rotate(-3deg);
}

.story__shelf i:nth-child(5) {
  width: 26px;
  height: 49px;
  background: #dba7b8;
}

.story__caption {
  margin: 11px 0 0;
  color: var(--brown-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

.story__flower,
.story__star {
  position: absolute;
  z-index: 3;
  line-height: 1;
}

.story__flower {
  right: 0;
  bottom: 55px;
  color: var(--rose);
  font-size: 39px;
  transform: rotate(12deg);
}

.story__star {
  top: 35px;
  left: 6px;
  color: var(--lavender);
  font-size: 24px;
}

.story__copy h2 {
  margin-bottom: 30px;
}

.story__lead {
  margin-bottom: 17px;
  color: var(--brown);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
}

.story__copy > p:not(.kicker):not(.story__lead) {
  margin-bottom: 30px;
  color: var(--brown-soft);
  font-size: 15px;
}

.story__values {
  margin-bottom: 31px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.story__values > div {
  padding: 17px;
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 10px;
  background: var(--white);
  border: 1px solid rgba(94, 61, 50, 0.12);
  border-radius: 7px;
}

.story__values > div > span {
  color: var(--rose);
}

.story__values p {
  margin: 0;
  color: var(--brown-soft);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.55;
}

.story__values strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brown);
  font-family: var(--sans);
  font-size: 12px;
}

/* ---------- Shop ---------- */
.shop {
  background: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  min-width: 0;
  padding: 13px;
  background: var(--white);
  border: 1px solid rgba(94, 61, 50, 0.14);
  border-radius: 9px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
  border-color: rgba(135, 56, 78, 0.42);
  box-shadow: 0 17px 34px rgba(94, 61, 50, 0.08);
  transform: translateY(-6px);
}

.product-card__image {
  min-height: 354px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 6px;
}

.product-card__image::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: radial-gradient(rgba(94, 61, 50, 0.26) 0.7px, transparent 0.7px);
  background-size: 6px 6px;
}

.product-label {
  position: absolute;
  z-index: 4;
  top: 13px;
  left: 13px;
  padding: 5px 9px;
  color: var(--berry);
  background: var(--cream);
  border: 1px solid rgba(135, 56, 78, 0.15);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-card__image--keychain {
  background: #eee8f8;
}

.keychain-art {
  position: relative;
  z-index: 2;
  transform: rotate(7deg);
  transition: transform 250ms ease;
}

.product-card:hover .keychain-art {
  transform: rotate(3deg) scale(1.035);
}

.keychain-art__ring {
  width: 52px;
  height: 52px;
  position: absolute;
  z-index: 1;
  top: -43px;
  left: 50%;
  border: 7px double rgba(94, 61, 50, 0.45);
  border-radius: 50%;
  transform: translateX(-50%);
}

.keychain-art__ring::after {
  content: "";
  width: 10px;
  height: 42px;
  position: absolute;
  top: 35px;
  left: 14px;
  border-right: 4px solid rgba(94, 61, 50, 0.45);
  transform: rotate(18deg);
}

.keychain-art__tag {
  width: 183px;
  height: 183px;
  position: relative;
  z-index: 2;
  display: block;
  overflow: hidden;
  background: var(--white);
  border: 8px solid rgba(255, 255, 255, 0.7);
  border-radius: 44% 44% 50% 50%;
  box-shadow: 0 19px 34px rgba(94, 61, 50, 0.15);
}

.keychain-art__tag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-sparkle {
  position: absolute;
  top: 72px;
  right: 53px;
  color: var(--berry);
  font-size: 25px;
  transition: transform 200ms ease;
}

.product-card:hover .product-sparkle {
  transform: rotate(19deg) scale(1.15);
}

.product-card__image--blind-date {
  background: #f8dce5;
}

.wrapped-book {
  width: 184px;
  height: 249px;
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(94, 61, 50, 0.08) 1px, transparent 1px) 0 0 / 100% 25px,
    #fff9ee;
  border: 1px solid rgba(94, 61, 50, 0.22);
  border-radius: 3px 7px 7px 3px;
  box-shadow:
    inset 6px 0 0 rgba(94, 61, 50, 0.08),
    12px 15px 30px rgba(94, 61, 50, 0.13);
  transform: rotate(-5deg);
  transition: transform 250ms ease;
}

.product-card:hover .wrapped-book {
  transform: rotate(-2deg) scale(1.025);
}

.wrapped-book__string {
  width: 100%;
  height: 1px;
  position: absolute;
  top: 50%;
  background: rgba(135, 56, 78, 0.57);
}

.wrapped-book__string::after {
  content: "";
  width: 1px;
  height: 100%;
  min-height: 249px;
  position: absolute;
  top: -125px;
  left: 50%;
  background: rgba(135, 56, 78, 0.57);
}

.wrapped-book__note {
  width: 125px;
  position: relative;
  z-index: 2;
  padding: 14px 10px;
  color: var(--berry);
  background: #f2cfac;
  box-shadow: 2px 4px 0 rgba(94, 61, 50, 0.08);
  font-family: var(--hand);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transform: rotate(2deg);
}

.wrapped-book__note small {
  font-size: 11px;
}

.wrapped-book > i {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 18px;
  color: var(--rose);
  font-family: var(--hand);
  font-size: 28px;
  font-style: normal;
  transform: rotate(12deg);
}

.product-flower {
  position: absolute;
  right: 38px;
  bottom: 32px;
  color: var(--berry);
  font-size: 33px;
}

.product-card__image--mystery {
  background: #dae3c8;
}

.mystery-bag {
  width: 189px;
  height: 211px;
  position: relative;
  z-index: 2;
  margin-top: 32px;
  padding-top: 64px;
  color: var(--berry);
  background: #f5e3ce;
  border: 1px solid rgba(94, 61, 50, 0.22);
  box-shadow: 9px 14px 28px rgba(94, 61, 50, 0.14);
  text-align: center;
  clip-path: polygon(6% 0, 95% 2%, 100% 100%, 0 98%);
  transform: rotate(4deg);
  transition: transform 250ms ease;
}

.product-card:hover .mystery-bag {
  transform: rotate(1deg) scale(1.025);
}

.mystery-bag::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 0;
  left: 0;
  border-top: 1px dashed rgba(94, 61, 50, 0.39);
}

.mystery-bag__handle {
  width: 91px;
  height: 72px;
  position: absolute;
  top: -47px;
  left: 50%;
  border: 5px solid #f5e3ce;
  border-bottom: 0;
  border-radius: 55px 55px 0 0;
  filter: drop-shadow(0 -1px 0 rgba(94, 61, 50, 0.22));
  transform: translateX(-50%);
}

.mystery-bag strong,
.mystery-bag > span:last-child {
  display: block;
}

.mystery-bag strong {
  margin-bottom: 3px;
  font-family: var(--hand);
  font-size: 51px;
  line-height: 1;
}

.mystery-bag > span:last-child {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.mystery-star {
  position: absolute;
  color: var(--berry);
}

.mystery-star--one {
  top: 86px;
  left: 48px;
  font-size: 18px;
}

.mystery-star--two {
  right: 43px;
  bottom: 61px;
  color: var(--rose);
  font-size: 29px;
}

.product-card__info {
  padding: 17px 4px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.product-card__info .card-meta {
  margin-bottom: 4px;
}

.product-card__info h3 {
  margin: 0;
  color: var(--brown);
  font-family: var(--hand);
  font-size: 18px;
  font-weight: 600;
}

.round-arrow {
  width: 35px;
  height: 35px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--berry);
  border: 1px solid rgba(135, 56, 78, 0.28);
  border-radius: 50%;
  font-size: 14px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.product-card:hover .round-arrow {
  color: var(--white);
  background: var(--berry);
  transform: rotate(8deg);
}

/* ---------- Support ---------- */
.support {
  overflow: hidden;
  padding: 65px 0;
  background: var(--pink-100);
}

.support__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background:
    linear-gradient(rgba(200, 120, 142, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 120, 142, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, black, transparent 37%, transparent 63%, black);
}

.support__card {
  min-height: 295px;
  position: relative;
  overflow: hidden;
  padding: 54px 62px;
  display: grid;
  grid-template-columns: 1.25fr 0.7fr;
  align-items: center;
  gap: 100px;
  color: var(--white);
  background: var(--berry);
  border-radius: 12px;
}

.support__card::before {
  content: "";
  width: 270px;
  height: 270px;
  position: absolute;
  top: -160px;
  right: 20%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 35px rgba(255, 255, 255, 0.025),
    0 0 0 70px rgba(255, 255, 255, 0.016);
}

.support h2 {
  color: var(--cream);
  font-size: clamp(38px, 4.3vw, 56px);
}

.support h2 .handwritten {
  color: var(--pink-200);
}

.support__copy {
  position: relative;
  z-index: 2;
}

.support__copy p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.support__petal--one {
  width: 22px;
  height: 31px;
  top: 24px;
  left: 25px;
  transform: rotate(26deg);
}

.support__petal--two {
  width: 14px;
  height: 21px;
  right: 23px;
  bottom: 27px;
  transform: rotate(78deg);
}

.support__spark {
  position: absolute;
  right: 28px;
  top: 23px;
  color: var(--lavender);
  font-size: 24px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 72px 0 28px;
  color: var(--brown);
  background: var(--cream);
}

.footer__top {
  padding-bottom: 55px;
  display: grid;
  grid-template-columns: 1fr 1.25fr 1.15fr;
  gap: 70px;
}

.footer__brand img {
  width: 112px;
  height: 112px;
  margin-bottom: 19px;
  object-fit: cover;
  border: 1px solid rgba(200, 120, 142, 0.18);
  border-radius: 50%;
}

.footer__brand p {
  margin: 0;
  color: var(--berry);
  font-family: var(--hand);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
}

.footer__nav h2,
.footer__review h2 {
  margin-bottom: 17px;
  color: var(--brown);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer__nav a {
  width: fit-content;
  margin-bottom: 8px;
  display: block;
  color: var(--brown-soft);
  font-size: 13px;
}

.footer__nav a:hover {
  color: var(--berry);
}

.footer__nav a span {
  color: var(--rose);
  font-size: 9px;
}

.footer__review {
  padding: 19px;
  display: grid;
  grid-template-columns: 1fr 103px;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid rgba(94, 61, 50, 0.13);
  border-radius: 8px;
}

.footer__review .card-meta {
  margin-bottom: 6px;
}

.footer__review h2 {
  margin-bottom: 7px;
  color: var(--berry);
  font-family: var(--hand);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
}

.footer__review p:last-child {
  margin: 0;
  color: var(--brown-soft);
  font-size: 11px;
}

.footer__review img {
  width: 103px;
  height: 103px;
}

.footer__bottom {
  min-height: 54px;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: #715a51;
  border-top: 1px solid rgba(94, 61, 50, 0.13);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.footer__bottom p {
  margin: 0;
}

.footer__bottom span {
  color: var(--berry);
}

.footer__bottom a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--berry);
}

/* ---------- Reveal motion ---------- */
.reveal {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible {
  animation: reveal-up 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.reveal--delay.is-visible {
  animation-delay: 110ms;
}

.reveal--delay-2.is-visible {
  animation-delay: 210ms;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  :root {
    --page: min(100% - 40px, 930px);
  }

  .site-header__inner {
    gap: 18px;
  }

  .brand {
    min-width: 195px;
  }

  .brand__words span {
    display: none;
  }

  .site-nav {
    gap: 16px;
    font-size: 9px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.8fr);
    gap: 34px;
  }

  .hero__art {
    min-height: 475px;
  }

  .hero__halo {
    width: 360px;
    height: 360px;
  }

  .hero__grid-pattern {
    width: 330px;
    height: 330px;
  }

  .shelf-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .book-cover strong {
    font-size: 26px;
  }

  .popup-step {
    padding-inline: 28px;
  }

  .story__grid {
    gap: 60px;
  }

  .support__card {
    gap: 55px;
  }

  .footer__top {
    grid-template-columns: 0.75fr 1.1fr 1.15fr;
    gap: 40px;
  }
}

@media (max-width: 820px) {
  :root {
    --page: calc(100% - 36px);
  }

  .section {
    padding: 90px 0;
  }

  .announcement__inner {
    min-height: 42px;
    justify-content: space-between;
  }

  .announcement p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .announcement p strong {
    display: none;
  }

  .announcement a {
    flex: none;
  }

  .site-header__inner {
    min-height: 72px;
  }

  .brand__mark {
    width: 43px;
    height: 43px;
  }

  .menu-toggle {
    height: 42px;
    padding: 0 4px;
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  .menu-toggle__label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .menu-toggle__lines {
    width: 24px;
    height: 18px;
    position: relative;
  }

  .menu-toggle__lines i {
    width: 23px;
    height: 1px;
    position: absolute;
    right: 0;
    background: currentColor;
    transition: top 180ms ease, transform 180ms ease;
  }

  .menu-toggle__lines i:first-child {
    top: 5px;
  }

  .menu-toggle__lines i:last-child {
    top: 12px;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__lines i:first-child {
    top: 8px;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__lines i:last-child {
    top: 8px;
    transform: rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 1;
    top: 72px;
    right: 0;
    left: 0;
    height: calc(100dvh - 72px);
    padding: 48px max(22px, calc((100% - 720px) / 2));
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    visibility: hidden;
    opacity: 0;
    background: rgba(255, 248, 251, 0.98);
    transform: translateY(-10px);
    transition: visibility 0s linear 220ms, opacity 220ms ease, transform 220ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .site-nav > a:not(.nav-support) {
    width: 100%;
    padding: 17px 0;
    color: var(--brown);
    border-bottom: 1px solid var(--line);
    font-family: var(--hand);
    font-size: 22px;
  }

  .nav-support {
    width: 100%;
    min-height: 54px;
    margin-top: 28px;
    justify-content: center;
    font-size: 11px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero__grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: 690px;
    padding-bottom: 0;
  }

  .hero__lede {
    max-width: 650px;
  }

  .hero__art {
    min-height: 525px;
  }

  .hero__logo-card {
    width: 365px;
  }

  .chapter-strip {
    grid-template-columns: 1fr;
    gap: 25px;
    border-radius: 9px 9px 0 0;
  }

  .chapter-strip__facts > div:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .section-heading__aside {
    max-width: 550px;
  }

  .popup-steps {
    grid-template-columns: 1fr;
  }

  .popup-step {
    min-height: auto;
    padding: 37px 35px 36px 145px;
  }

  .popup-step + .popup-step {
    border-top: 1px solid rgba(255, 255, 255, 0.19);
    border-left: 0;
  }

  .popup-step__icon {
    position: absolute;
    top: 31px;
    left: 32px;
  }

  .next-popup {
    grid-template-columns: 85px 1fr;
  }

  .next-popup__doodle {
    width: 80px;
    height: 80px;
  }

  .next-popup .button {
    width: 100%;
    grid-column: 1 / -1;
  }

  .story__grid {
    grid-template-columns: 1fr;
  }

  .story__visual {
    min-height: 490px;
    order: 2;
  }

  .story__copy {
    max-width: 670px;
  }

  .product-card__image {
    min-height: 290px;
  }

  .keychain-art__tag {
    width: 145px;
    height: 145px;
  }

  .wrapped-book {
    width: 145px;
    height: 207px;
  }

  .wrapped-book__string::after {
    min-height: 207px;
    top: -103px;
  }

  .wrapped-book__note {
    width: 105px;
    font-size: 13px;
  }

  .mystery-bag {
    width: 145px;
    height: 177px;
    padding-top: 53px;
  }

  .product-card__info h3 {
    font-size: 16px;
  }

  .support__card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .support__copy {
    max-width: 540px;
  }

  .footer__top {
    grid-template-columns: 0.6fr 1fr;
  }

  .footer__review {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --page: calc(100% - 28px);
  }

  body {
    font-size: 15px;
  }

  .section {
    padding: 76px 0;
  }

  .announcement__inner {
    width: calc(100% - 24px);
    font-size: 8px;
  }

  .announcement__petal {
    display: none;
  }

  .site-header__inner {
    min-height: 66px;
  }

  .brand {
    min-width: 0;
  }

  .brand__mark {
    width: 39px;
    height: 39px;
  }

  .brand__words strong {
    font-size: 14px;
  }

  .site-nav {
    top: 66px;
    height: calc(100dvh - 66px);
    padding: 36px 18px;
  }

  .hero {
    padding-top: 43px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 9px;
  }

  h1 {
    margin-bottom: 21px;
    font-size: clamp(40px, 12.7vw, 58px);
    line-height: 1.06;
  }

  .hero__lede {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.68;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-height: 54px;
  }

  .hero__note {
    align-items: flex-start;
    line-height: 1.6;
  }

  .hero__art {
    min-height: 405px;
  }

  .hero__halo {
    width: 310px;
    height: 310px;
  }

  .hero__grid-pattern {
    width: 290px;
    height: 290px;
  }

  .hero__logo-card {
    width: min(294px, 83vw);
    padding: 13px 13px 10px;
  }

  .hero__bookmark {
    right: 0;
    bottom: 13%;
    transform: scale(0.83) rotate(7deg);
  }

  .sparkle--one {
    right: 2%;
  }

  .chapter-strip {
    width: 100%;
    padding: 24px 20px;
    border-radius: 0;
  }

  .chapter-strip__label {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .chapter-strip__label strong {
    font-size: 17px;
  }

  .chapter-strip__facts > div {
    padding: 0 11px;
  }

  .chapter-strip__facts strong {
    font-size: 18px;
  }

  .chapter-strip__facts span {
    font-size: 6px;
  }

  .kicker {
    margin-bottom: 17px;
  }

  h2 {
    font-size: clamp(35px, 11.1vw, 49px);
  }

  .section-heading--split {
    margin-bottom: 37px;
  }

  .section-heading__aside p {
    font-size: 14px;
  }

  .catalog {
    margin-inline: -7px;
    padding: 12px;
  }

  .catalog__toolbar {
    gap: 8px;
  }

  .catalog-search {
    padding: 0 12px;
  }

  .catalog-search input {
    font-size: 10px;
  }

  .catalog-search kbd {
    display: none;
  }

  .filter-toggle {
    padding: 0 13px;
    display: inline-flex;
  }

  .catalog__filters {
    max-height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 240ms ease, opacity 180ms ease, padding 240ms ease;
  }

  .catalog__filters.is-open {
    max-height: 260px;
    padding: 15px 0 19px;
    opacity: 1;
  }

  .catalog__count {
    width: 100%;
    margin: 6px 0 0;
  }

  .shelf-grid {
    grid-template-columns: 1fr;
  }

  .shelf-card {
    grid-template-columns: 39% minmax(0, 1fr);
  }

  .book-cover {
    min-height: 220px;
  }

  .book-cover strong {
    font-size: 23px;
  }

  .library::before {
    display: none;
  }

  .popups__intro {
    margin-bottom: 43px;
  }

  .popups__intro > p:last-child {
    font-size: 15px;
  }

  .popup-step {
    padding: 126px 24px 30px;
  }

  .popup-step__icon {
    top: 28px;
    left: 23px;
  }

  .next-popup {
    padding: 24px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .next-popup__doodle {
    width: 74px;
    height: 74px;
  }

  .next-popup h3 {
    font-size: 22px;
  }

  .story__grid {
    gap: 42px;
  }

  .story__lead {
    font-size: 16px;
  }

  .story__values {
    grid-template-columns: 1fr;
  }

  .story__visual {
    min-height: 420px;
  }

  .story__visual::before {
    width: 310px;
    height: 310px;
  }

  .story__paper {
    width: min(330px, 91%);
    min-height: 375px;
    padding: 38px 27px 24px 39px;
  }

  .story blockquote {
    margin-bottom: 25px;
    font-size: 22px;
  }

  .story__flower {
    right: -4px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card__image {
    min-height: 340px;
  }

  .keychain-art__tag {
    width: 175px;
    height: 175px;
  }

  .wrapped-book {
    width: 173px;
    height: 233px;
  }

  .wrapped-book__string::after {
    min-height: 233px;
    top: -116px;
  }

  .mystery-bag {
    width: 175px;
    height: 198px;
  }

  .support {
    padding: 35px 0;
  }

  .support__card {
    padding: 42px 28px;
  }

  .support h2 {
    font-size: 37px;
  }

  .footer {
    padding-top: 57px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer__brand {
    display: grid;
    grid-template-columns: 88px 1fr;
    align-items: center;
    gap: 20px;
  }

  .footer__brand img {
    width: 88px;
    height: 88px;
    margin: 0;
  }

  .footer__review {
    grid-column: auto;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .footer__bottom p:nth-child(2) {
    display: none;
  }
}

/* ---------- Search-first manga browser ---------- */
.library .section-heading--split {
  margin-bottom: 40px;
  align-items: end;
}

.library .section-heading h2 {
  font-size: clamp(44px, 5vw, 68px);
}

.catalog--real {
  padding: 20px;
  background: rgba(255, 247, 249, 0.82);
  border-color: rgba(135, 56, 78, 0.17);
  border-radius: 14px;
}

.catalog__toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 165px auto;
  align-items: stretch;
  gap: 10px;
}

.catalog-search {
  min-height: 52px;
  padding-inline: 17px;
  box-shadow: 0 5px 18px rgba(94, 61, 50, 0.035);
}

.catalog-sort {
  min-height: 52px;
  padding: 6px 12px 5px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(94, 61, 50, 0.16);
  border-radius: 7px;
}

.catalog-sort > span {
  margin-bottom: 1px;
  color: var(--berry);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.catalog-sort select {
  width: 100%;
  color: var(--brown);
  background: transparent;
  border: 0;
  outline: 0;
  font-family: var(--mono);
  font-size: 10px;
}

.filter-toggle {
  min-height: 52px;
  display: inline-flex;
  cursor: pointer;
}

.filter-toggle[hidden] {
  display: none;
}

.catalog--real .catalog__filters {
  padding: 15px 0 18px;
  border-bottom: 1px solid rgba(94, 61, 50, 0.1);
}

.catalog__browse-label {
  margin-right: 3px;
  color: var(--berry);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.catalog__facets {
  margin: 0 0 20px;
  padding: 15px;
  display: none;
  background: rgba(255, 255, 255, 0.74);
  border: 0;
  border-right: 1px solid rgba(94, 61, 50, 0.1);
  border-bottom: 1px solid rgba(94, 61, 50, 0.1);
  border-left: 1px solid rgba(94, 61, 50, 0.1);
}

.catalog__facets.is-open {
  display: flex;
}

.catalog__facets[hidden] {
  display: none;
}

.manga-grid {
  min-height: 340px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px 14px;
}

.manga-card {
  border-color: rgba(94, 61, 50, 0.13);
  border-radius: 8px;
  box-shadow: 0 7px 20px rgba(94, 61, 50, 0.04);
}

.manga-card:hover {
  box-shadow: 0 15px 28px rgba(94, 61, 50, 0.1);
  transform: translateY(-3px);
}

.manga-card__cover {
  aspect-ratio: 2 / 3;
  background: #f3ecee;
}

.manga-card__cover img {
  object-fit: contain;
  background: #f3ecee;
}

.manga-card__volume {
  position: absolute;
  z-index: 4;
  top: 9px;
  right: 9px;
  padding: 4px 7px;
  color: var(--berry-dark);
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(94, 61, 50, 0.14);
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(94, 61, 50, 0.08);
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1;
}

.manga-card__details {
  min-height: 126px;
  padding: 15px 14px 14px;
}

.manga-card__details h3 {
  min-height: 40px;
  margin-bottom: 5px;
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.manga-card__creator {
  margin-bottom: 7px;
  overflow: hidden;
  color: var(--brown-soft);
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manga-card__facts {
  margin-bottom: 0;
  display: -webkit-box;
  overflow: hidden;
  color: rgba(94, 61, 50, 0.7);
  font-size: 8px !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.catalog__more {
  padding-top: 22px;
}

.catalog__cover-credit {
  margin: 16px 0 0;
  color: rgba(94, 61, 50, 0.68);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
}

.catalog__cover-credit a {
  color: var(--berry);
  border-bottom: 1px solid rgba(135, 56, 78, 0.35);
}

@media (max-width: 1180px) {
  .manga-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .catalog__toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .catalog-search {
    grid-column: 1 / -1;
  }

  .catalog-sort {
    min-width: 160px;
  }

  .manga-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .library .section-heading h2 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .catalog--real {
    padding: 11px;
  }

  .catalog__toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .catalog-search {
    min-height: 50px;
    grid-column: 1 / -1;
  }

  .catalog-sort,
  .filter-toggle {
    min-height: 46px;
  }

  .catalog-sort {
    min-width: 0;
  }

  .catalog__filters,
  .catalog__filters.is-open,
  .catalog--real .catalog__filters {
    max-height: none;
    padding: 12px 0 15px;
    overflow-x: auto;
    flex-wrap: nowrap;
    opacity: 1;
  }

  .catalog__browse-label {
    display: none;
  }

  .catalog__filters .chip {
    flex: none;
  }

  .catalog__count {
    width: auto;
    margin: 0 0 0 auto;
    flex: none;
  }

  .catalog__facets,
  .catalog__facets.is-open {
    max-height: none;
    margin: 0 0 15px;
    padding: 12px;
    overflow: visible;
    opacity: 1;
  }

  .catalog__facets {
    display: none;
  }

  .catalog__facets.is-open {
    display: flex;
  }

  .manga-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 9px;
  }

  .manga-card__details {
    min-height: 118px;
    padding: 12px 10px;
  }

  .manga-card__details h3 {
    min-height: 36px;
    font-size: 13px;
  }

  .manga-card__volume {
    top: 7px;
    right: 7px;
  }
}

/* Privacy page */
.legal-page {
  background: var(--blush);
}

.legal-page__back {
  min-height: 44px;
}

.legal-page__main {
  max-width: 820px;
  padding-block: 95px 110px;
}

.legal-page__main > h1 {
  margin-bottom: 10px;
  color: var(--brown);
  font-size: clamp(48px, 7vw, 72px);
}

.legal-page__updated {
  margin-bottom: 55px;
  color: #715a51;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.legal-page__main section {
  padding: 28px 0;
  border-top: 1px solid rgba(94, 61, 50, 0.17);
}

.legal-page__main section h2 {
  margin-bottom: 12px;
  color: var(--berry);
  font-family: var(--hand);
  font-size: 24px;
  font-weight: 600;
}

.legal-page__main section p {
  margin: 0;
  color: #674c43;
  font-size: 17px;
}

.legal-page__main section a {
  color: var(--berry);
  border-bottom: 1px solid var(--rose);
}

.legal-page__footer {
  padding: 28px 0;
  color: #715a51;
  background: var(--cream);
  border-top: 1px solid rgba(94, 61, 50, 0.14);
  font-family: var(--mono);
  font-size: 10px;
}

.legal-page__footer .page-shell {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.legal-page__footer p {
  margin: 0;
}

@media (max-width: 620px) {
  .legal-page__back {
    width: auto;
    min-height: 42px;
    padding-inline: 14px;
    font-size: 9px;
  }

  .legal-page__main {
    padding-block: 70px 80px;
  }

  .legal-page__footer .page-shell {
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .announcement a {
    font-size: 0;
  }

  .announcement a::before {
    content: "Updates";
    font-size: 8px;
  }

  .shelf-card {
    grid-template-columns: 42% minmax(0, 1fr);
    gap: 11px;
    padding: 10px;
  }

  .book-cover strong {
    font-size: 20px;
  }

  .shelf-card h3 {
    font-size: 16px;
  }

  .shelf-card__body > p:not(.card-meta) {
    font-size: 10px;
  }

  .footer__review {
    grid-template-columns: 1fr 88px;
  }

  .footer__review img {
    width: 88px;
    height: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

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

/* ==========================================================================
   Owner-grounded refinement
   These rules intentionally override the earlier component skin while keeping
   the original palette, spacing system, responsive shell, and interactions.
   ========================================================================== */

body {
  font-size: 17px;
}

.site-nav {
  gap: clamp(15px, 1.7vw, 25px);
  font-size: 13px;
}

.button {
  padding-inline: 23px;
  font-size: 13px;
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.065em;
}

.card-meta {
  font-size: 10px;
  letter-spacing: 0.065em;
}

.text-link {
  font-size: 13px;
}

.announcement__inner {
  justify-content: space-between;
  font-size: 10px;
}

.announcement p strong {
  font-weight: 500;
}

/* Hero: full logo + honest owner-photo positions */
.hero--refined {
  padding-top: 58px;
  background:
    linear-gradient(90deg, transparent 0 68%, rgba(244, 203, 215, 0.16) 68% 100%),
    var(--blush);
}

.hero--refined .hero__grid {
  min-height: 650px;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.8fr);
}

.hero--refined .hero__copy {
  padding-bottom: 30px;
}

.hero--refined h1 {
  font-size: clamp(48px, 5vw, 71px);
}

.hero--refined .hero__lede {
  max-width: 650px;
  font-size: 18px;
}

.hero__materials {
  min-height: 550px;
  display: grid;
  grid-template-columns: minmax(270px, 1fr) minmax(140px, 0.58fr);
  align-items: center;
  gap: 13px;
}

.hero__logo-sheet {
  margin: 0;
  padding: 17px 17px 13px;
  position: relative;
  z-index: 2;
  background: var(--white);
  border: 1px solid rgba(94, 61, 50, 0.16);
  box-shadow: 0 18px 45px rgba(94, 61, 50, 0.09);
}

.hero__logo-sheet img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.hero__logo-sheet figcaption,
.asset-slot figcaption {
  margin-top: 9px;
  color: #74584f;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.45;
}

.hero__photo-stack {
  display: grid;
  gap: 18px;
  transform: translateX(-17px);
}

.asset-slot {
  margin: 0;
  padding: 11px;
  background: var(--white);
  border: 1px solid rgba(94, 61, 50, 0.2);
}

.asset-slot > div {
  min-height: 160px;
  padding: 17px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: column;
  color: var(--brown);
  background:
    linear-gradient(rgba(135, 56, 78, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135, 56, 78, 0.07) 1px, transparent 1px),
    #fffafb;
  background-size: 19px 19px;
  border: 1px dashed rgba(135, 56, 78, 0.42);
}

.asset-slot > div > span,
.asset-slot > div > strong,
.asset-slot > div > small {
  display: block;
}

.asset-slot > div > span {
  margin-bottom: 9px;
  color: var(--berry);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.055em;
}

.asset-slot > div > strong {
  font-family: var(--hand);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.asset-slot > div > small {
  margin-top: 7px;
  color: #76594f;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.asset-slot--shelves {
  transform: translateY(-25px);
}

.asset-slot--popup {
  transform: translate(11px, 10px);
}

.status-strip {
  min-height: 104px;
  padding: 26px 34px;
  display: grid;
  grid-template-columns: 0.72fr 1.12fr 1fr;
  align-items: center;
  color: var(--brown);
  background: var(--white);
  border: 1px solid rgba(94, 61, 50, 0.16);
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
}

.status-strip > div {
  padding: 0 27px;
}

.status-strip > div + div {
  border-left: 1px solid rgba(94, 61, 50, 0.14);
}

.status-strip span,
.status-strip strong {
  display: block;
}

.status-strip > div > span {
  margin-bottom: 5px;
  color: #76594f;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.status-strip strong {
  color: var(--berry);
  font-size: 17px;
  font-weight: 600;
}

.status-strip strong span {
  display: inline;
}

/* Library: real category entry points and collection record */
.library::before {
  display: none;
}

.catalog--real {
  padding: 25px;
}

.catalog--real .catalog-search input {
  font-size: 14px;
}

.catalog--real .catalog__filters {
  padding-bottom: 29px;
}

.category-shelf {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 13px;
}

.collection-guide {
  min-height: 210px;
  padding: 25px 22px 21px;
  grid-column: span 4;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(94, 61, 50, 0.16);
  border-top: 5px solid var(--pink-200);
  transition: border-color 180ms ease, transform 180ms ease;
}

.collection-guide:nth-child(2),
.collection-guide:nth-child(4) {
  min-height: 184px;
  border-top-color: var(--lavender);
}

.collection-guide:nth-child(3),
.collection-guide:nth-child(6) {
  min-height: 198px;
  border-top-color: var(--green);
}

.collection-guide--wide {
  grid-column: span 5;
}

.collection-guide:nth-child(2),
.collection-guide--offset {
  grid-column: span 3;
}

.collection-guide:hover {
  border-color: rgba(135, 56, 78, 0.46);
  transform: translateY(-3px);
}

.collection-guide[hidden] {
  display: none;
}

.collection-guide .card-meta {
  margin-bottom: 15px;
}

.collection-guide h3 {
  margin-bottom: 10px;
  color: var(--brown);
  font-family: var(--hand);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.25;
}

.collection-guide p:not(.card-meta) {
  margin-bottom: 18px;
  color: #6e5148;
  font-size: 15px;
  line-height: 1.6;
}

.collection-guide a {
  margin-top: auto;
  display: inline-flex;
  gap: 7px;
  color: var(--berry);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
}

.collection-record {
  margin-top: 29px;
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  background: var(--brown);
  border-radius: 8px;
}

.collection-record__count {
  padding: 35px;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.17);
}

.collection-record__count > span {
  color: var(--pink-200);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.collection-record__count strong {
  margin: 8px 0 0;
  display: block;
  color: var(--white);
  font-family: var(--hand);
  font-size: 67px;
  font-weight: 600;
  line-height: 1;
}

.collection-record__count p {
  max-width: 210px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.collection-record__notes {
  margin: 0;
  padding: 13px 27px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.collection-record__notes > div {
  padding: 19px 17px;
}

.collection-record__notes > div:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.collection-record__notes > div:nth-child(n + 3) {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.collection-record dt {
  margin-bottom: 5px;
  color: var(--pink-200);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.collection-record dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.79);
  font-size: 14px;
  line-height: 1.5;
}

/* Practical pop-up explanation */
.popups--practical {
  padding: 91px 0;
}

.popups--practical::after {
  display: none;
}

.popups__layout {
  display: grid;
  grid-template-columns: 0.72fr 1.18fr;
  gap: 37px 75px;
}

.popups--practical .popups__intro {
  margin: 0;
}

.popups--practical .popups__intro h2 {
  margin-bottom: 22px;
}

.popups--practical .popups__intro > p:last-child {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

.popup-process {
  margin: 0;
  padding: 0;
  grid-row: span 2;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.popup-process li {
  min-height: 128px;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.popup-process li > span {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  color: var(--berry);
  background: var(--pink-200);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
}

.popup-process h3 {
  margin-bottom: 5px;
  color: var(--white);
  font-family: var(--hand);
  font-size: 21px;
  font-weight: 600;
}

.popup-process p {
  margin: 0;
  color: rgba(255, 255, 255, 0.79);
  font-size: 15px;
}

.event-status {
  padding: 24px;
  align-self: end;
  color: var(--brown);
  background: var(--pink-200);
  border-radius: 7px;
}

.event-status .card-meta {
  color: var(--berry-dark);
}

.event-status h3 {
  margin-bottom: 8px;
  color: var(--berry-dark);
  font-family: var(--hand);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
}

.event-status > p:not(.card-meta) {
  margin-bottom: 18px;
  color: #68483e;
  font-size: 14px;
}

.event-status .button {
  width: 100%;
}

/* Mission with real-photo position instead of a fabricated quote */
.story--real::before {
  display: none;
}

.story--real .story__grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.story__photo-placeholder {
  min-height: 520px;
  padding: 14px;
  transform: rotate(-1deg);
}

.story__photo-placeholder > div {
  min-height: 458px;
}

.story--real .story__copy h2 {
  margin-bottom: 28px;
}

.story--real .story__copy > p:not(.kicker):not(.story__lead) {
  margin-bottom: 19px;
  font-size: 16px;
}

.content-note {
  padding: 14px 16px;
  color: #664b42 !important;
  background: var(--white);
  border-left: 3px solid var(--rose);
  font-family: var(--mono);
  font-size: 12px !important;
  line-height: 1.6;
}

.content-note--approved {
  color: var(--brown) !important;
  font-family: var(--sans);
  font-size: 17px !important;
}

/* Past event proof: irregular photo strip + one verified press clipping */
.past-events {
  background: var(--white);
}

.events-heading {
  max-width: 780px;
  margin-bottom: 45px;
}

.events-heading h2 {
  margin-bottom: 23px;
}

.events-heading > p:last-child {
  max-width: 710px;
  margin: 0;
  color: #6d5047;
  font-size: 17px;
}

.event-photo-strip {
  min-height: 450px;
  display: grid;
  grid-template-columns: 1.45fr 0.72fr 0.95fr;
  align-items: start;
  gap: 15px;
}

.verified-events-timeline {
  margin-bottom: 46px;
  border-top: 1px solid rgba(94, 61, 50, 0.18);
}

.verified-events-timeline[hidden] {
  display: none;
}

.verified-event {
  padding: 42px 0;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(38px, 6vw, 82px);
  border-bottom: 1px solid rgba(94, 61, 50, 0.18);
}

.verified-event:nth-child(even) > .verified-event__media {
  order: 2;
}

.verified-event__media {
  max-width: 480px;
  margin: 0;
  padding: 12px 12px 0;
  background: var(--white);
  border: 1px solid rgba(94, 61, 50, 0.15);
  box-shadow: 0 18px 42px rgba(94, 61, 50, 0.1);
  transform: rotate(-0.7deg);
}

.verified-event__media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.verified-event__media figcaption {
  padding: 10px 2px 11px;
  color: #866b61;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.verified-event__media figcaption a {
  color: inherit;
  border-bottom: 1px solid rgba(134, 107, 97, 0.4);
}

.verified-event h3 {
  margin-bottom: 14px;
  color: var(--brown);
  font-family: var(--hand);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
}

.verified-event__copy > p:not(.card-meta, .verified-event__role) {
  margin-bottom: 19px;
  color: #6d5047;
  font-size: 17px;
  line-height: 1.72;
}

.verified-event__role {
  width: fit-content;
  margin: 0 0 20px;
  padding: 8px 12px;
  color: var(--berry-dark);
  background: var(--pink-50);
  border: 1px solid var(--rose);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.verified-event__actions {
  margin-top: 26px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
}

.verified-event__actions .button {
  min-height: 45px;
  padding: 12px 17px;
  font-size: 9px;
}

.event-photo {
  min-width: 0;
}

.event-photo > div {
  min-height: 330px;
}

.event-photo--large > div {
  min-height: 410px;
}

.event-photo--portrait {
  margin-top: 55px;
}

.event-photo--portrait > div {
  min-height: 355px;
}

.event-photo--detail {
  margin-top: 18px;
}

.events-proof {
  margin-top: 37px;
  padding-top: 31px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 80px;
  border-top: 1px solid rgba(94, 61, 50, 0.16);
}

.events-proof h3 {
  margin-bottom: 9px;
  color: var(--brown);
  font-family: var(--hand);
  font-size: 23px;
  font-weight: 600;
}

.events-proof > div > p:last-child {
  margin: 0;
  color: #6d5047;
  font-size: 15px;
}

.press-clipping {
  min-height: 145px;
  padding: 24px 60px 24px 27px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  background: var(--blush);
  border: 1px solid rgba(94, 61, 50, 0.17);
  transition: border-color 180ms ease, transform 180ms ease;
}

.press-clipping:hover {
  border-color: var(--rose);
  transform: translateY(-3px);
}

.press-clipping span,
.press-clipping small {
  font-family: var(--mono);
  font-size: 10px;
}

.press-clipping span {
  margin-bottom: 8px;
  color: var(--berry);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.press-clipping strong {
  color: var(--brown);
  font-family: var(--hand);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}

.press-clipping small {
  margin-top: 8px;
  color: #76594f;
}

.press-clipping i {
  position: absolute;
  right: 24px;
  color: var(--berry);
  font-style: normal;
}

/* Merchandise: one honest photo position + real live-shop categories */
.shop--real {
  background: var(--blush);
}

.merch-layout {
  display: grid;
  grid-template-columns: 0.8fr 1fr 0.74fr;
  align-items: start;
  gap: 31px;
}

.merch-intro {
  padding-right: 15px;
}

.merch-intro h2 {
  margin-bottom: 22px;
}

.merch-intro > p:not(.kicker):not(.content-note) {
  margin-bottom: 18px;
  color: #6d5047;
  font-size: 17px;
}

.merch-intro .button {
  margin-top: 8px;
}

.merch-photo {
  min-height: 430px;
  transform: rotate(1deg);
}

.merch-photo > div {
  min-height: 370px;
}

.merch-links {
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(94, 61, 50, 0.16);
}

.merch-links > .card-meta {
  margin-bottom: 13px;
}

.merch-links > a {
  min-height: 91px;
  padding: 18px 30px 18px 0;
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  border-top: 1px solid rgba(94, 61, 50, 0.15);
}

.merch-links > a > span {
  color: var(--brown);
  font-family: var(--hand);
  font-size: 18px;
  font-weight: 600;
}

.merch-links > a > small {
  margin-top: 3px;
  color: #76594f;
  font-family: var(--mono);
  font-size: 9px;
}

.merch-links > a > i {
  position: absolute;
  right: 2px;
  color: var(--berry);
  font-style: normal;
}

/* Direct support language without decorative filler */
.support--plain {
  padding-block: 56px;
}

.support--plain .support__card {
  min-height: 260px;
}

.support--plain .support__card::before {
  display: none;
}

.support--plain h2 {
  font-size: clamp(37px, 4.2vw, 54px);
}

/* Useful footer */
.footer--useful .footer__top {
  grid-template-columns: 0.92fr 1.17fr 1fr;
  align-items: start;
}

.footer--useful .footer__brand {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 17px;
}

.footer--useful .footer__brand img {
  width: 90px;
  height: 90px;
  margin: 0;
}

.footer--useful .footer__brand strong {
  display: block;
  color: var(--berry);
  font-family: var(--hand);
  font-size: 17px;
  font-weight: 600;
}

.footer--useful .footer__brand p {
  margin-top: 4px;
  color: #6d5047;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.footer--useful .footer__nav a {
  font-size: 14px;
}

.footer__updates {
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(94, 61, 50, 0.14);
}

.footer__updates h2 {
  margin-bottom: 8px;
  color: var(--berry);
  font-family: var(--hand);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.footer__updates > p:not(.card-meta) {
  margin-bottom: 14px;
  color: #6d5047;
  font-size: 13px;
}

.footer__utility {
  padding: 30px 0;
  display: grid;
  grid-template-columns: minmax(420px, 0.85fr) 1fr;
  align-items: center;
  gap: 50px;
  border-top: 1px solid rgba(94, 61, 50, 0.13);
}

.footer__utility > p {
  margin: 0;
  color: #715a51;
  font-family: var(--mono);
  font-size: 10px;
}

.footer--useful .footer__review {
  grid-template-columns: 1fr 104px;
}

.footer__review-link {
  margin-top: 11px;
}

.footer--useful .footer__bottom {
  font-size: 9px;
}

.footer--useful .footer__bottom a {
  display: inline;
}

@media (max-width: 1110px) {
  .site-nav {
    gap: 13px;
    font-size: 11px;
  }

  .hero--refined .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.73fr);
  }

  .hero__materials {
    grid-template-columns: minmax(245px, 1fr) 135px;
  }

  .popups__layout {
    gap: 35px 50px;
  }

  .merch-layout {
    grid-template-columns: 0.8fr 1fr;
  }

  .merch-links {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .merch-links > .card-meta {
    grid-column: 1 / -1;
  }

  .merch-links > a {
    border-top: 1px solid rgba(94, 61, 50, 0.15);
  }
}

@media (max-width: 820px) {
  .hero--refined {
    background: var(--blush);
  }

  .hero--refined .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__materials {
    width: min(620px, 100%);
    min-height: 500px;
    margin-inline: auto;
    grid-template-columns: minmax(280px, 1.1fr) minmax(180px, 0.7fr);
  }

  .status-strip {
    grid-template-columns: 0.75fr 1fr 1fr;
  }

  .category-shelf {
    grid-template-columns: 1fr 1fr;
  }

  .collection-guide,
  .collection-guide--wide,
  .collection-guide:nth-child(2),
  .collection-guide--offset {
    grid-column: auto;
  }

  .collection-record {
    grid-template-columns: 0.55fr 1fr;
  }

  .popups__layout {
    grid-template-columns: 1fr;
  }

  .popup-process {
    grid-row: auto;
  }

  .event-status {
    max-width: 500px;
  }

  .story--real .story__grid {
    grid-template-columns: 1fr;
  }

  .story__photo-placeholder {
    width: min(570px, 100%);
    min-height: 430px;
    order: 2;
  }

  .story__photo-placeholder > div {
    min-height: 365px;
  }

  .event-photo-strip {
    min-height: 380px;
    grid-template-columns: 1.25fr 0.78fr 0.93fr;
  }

  .event-photo > div,
  .event-photo--portrait > div {
    min-height: 280px;
  }

  .event-photo--large > div {
    min-height: 340px;
  }

  .events-proof {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer--useful .footer__top {
    grid-template-columns: 0.72fr 1fr;
  }

  .footer__updates {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .announcement__inner {
    font-size: 9px;
  }

  .announcement p {
    white-space: normal;
  }

  .announcement p strong {
    display: block;
  }

  .hero--refined {
    padding-top: 41px;
  }

  .hero--refined h1 {
    font-size: clamp(40px, 12vw, 53px);
  }

  .hero__materials {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero__logo-sheet {
    width: min(330px, 93%);
    margin-inline: auto;
  }

  .hero__photo-stack {
    grid-template-columns: 1fr 1fr;
    transform: none;
  }

  .asset-slot--shelves,
  .asset-slot--popup {
    transform: none;
  }

  .asset-slot > div {
    min-height: 145px;
  }

  .asset-slot > div > strong {
    font-size: 16px;
  }

  .status-strip {
    width: 100%;
    padding: 23px 18px;
    grid-template-columns: 1fr;
    gap: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .status-strip > div {
    padding: 15px 0;
  }

  .status-strip > div + div {
    border-top: 1px solid rgba(94, 61, 50, 0.14);
    border-left: 0;
  }

  .category-shelf {
    grid-template-columns: 1fr;
  }

  .collection-guide,
  .collection-guide:nth-child(2),
  .collection-guide:nth-child(3),
  .collection-guide:nth-child(4),
  .collection-guide:nth-child(6) {
    min-height: 0;
  }

  .collection-record {
    grid-template-columns: 1fr;
  }

  .collection-record__count {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  }

  .collection-record__notes {
    grid-template-columns: 1fr;
    padding: 13px;
  }

  .collection-record__notes > div:nth-child(odd) {
    border-right: 0;
  }

  .collection-record__notes > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }

  .popups--practical {
    padding: 74px 0;
  }

  .popup-process li {
    grid-template-columns: 43px 1fr;
  }

  .story__photo-placeholder {
    min-height: 340px;
  }

  .story__photo-placeholder > div {
    min-height: 285px;
  }

  .event-photo-strip {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .verified-event {
    grid-template-columns: 1fr;
    gap: 21px;
  }

  .verified-event:nth-child(even) > .verified-event__media {
    order: initial;
  }

  .verified-event__media {
    width: min(100%, 480px);
    justify-self: center;
  }

  .event-photo--portrait,
  .event-photo--detail {
    margin-top: 0;
  }

  .event-photo > div,
  .event-photo--large > div,
  .event-photo--portrait > div {
    min-height: 250px;
  }

  .events-proof {
    margin-top: 28px;
  }

  .merch-layout {
    grid-template-columns: 1fr;
  }

  .merch-photo {
    min-height: 340px;
  }

  .merch-photo > div {
    min-height: 285px;
  }

  .merch-links {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .support--plain .support__card {
    min-height: 0;
  }

  .footer--useful .footer__top {
    grid-template-columns: 1fr;
  }

  .footer__updates {
    grid-column: auto;
  }

  .footer__utility {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer--useful .footer__review {
    grid-template-columns: 1fr;
  }

  .footer--useful .footer__review img {
    display: none;
  }

  .footer--useful .footer__bottom {
    gap: 10px;
  }
}

/* ==========================================================================
   Launch-ready interactions and real catalog
   ========================================================================== */

section[id] {
  scroll-margin-top: 96px;
}

.site-nav > a.is-active:not(.nav-support)::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero__library-slip {
  margin-left: -18px;
  padding: 28px 24px 23px;
  position: relative;
  z-index: 3;
  color: var(--cream);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--brown);
  background-size: 100% 31px;
  border: 1px solid rgba(94, 61, 50, 0.32);
  box-shadow: 0 16px 40px rgba(94, 61, 50, 0.13);
  transform: rotate(1.8deg);
}

.hero__library-slip::before {
  content: "";
  width: 62px;
  height: 19px;
  position: absolute;
  top: -10px;
  left: 50%;
  background: rgba(244, 203, 215, 0.78);
  transform: translateX(-50%) rotate(-2deg);
}

.hero__library-slip .card-meta {
  color: var(--pink-200);
}

.hero__library-slip > strong {
  display: block;
  color: var(--white);
  font-family: var(--hand);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.hero__library-slip ul {
  margin: 21px 0 20px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__library-slip li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11px;
}

.hero__library-slip li span {
  color: var(--peach);
  font-family: var(--mono);
  font-size: 8px;
}

.hero__library-slip > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pink-200);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
}

.manga-grid {
  min-height: 400px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 16px;
}

.catalog-loading {
  padding: 80px 24px;
  grid-column: 1 / -1;
  color: var(--brown-soft);
  font-family: var(--mono);
  font-size: 11px;
  text-align: center;
}

.catalog__facets {
  margin: -10px 0 26px;
  padding: 18px;
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(94, 61, 50, 0.13);
}

.catalog__facets[hidden] {
  display: none;
}

.catalog-facet {
  min-width: 170px;
  flex: 1 1 180px;
}

.catalog-facet > span {
  margin-bottom: 6px;
  display: block;
  color: var(--berry);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-facet select {
  width: 100%;
  min-height: 42px;
  padding: 0 34px 0 12px;
  color: var(--brown);
  background: var(--white);
  border: 1px solid rgba(94, 61, 50, 0.18);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 10px;
}

.manga-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(94, 61, 50, 0.16);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.manga-card:hover {
  border-color: rgba(135, 56, 78, 0.42);
  box-shadow: 0 16px 30px rgba(94, 61, 50, 0.09);
  transform: translateY(-4px);
}

.manga-card__cover {
  aspect-ratio: 0.705;
  position: relative;
  overflow: hidden;
  display: block;
  background:
    linear-gradient(135deg, rgba(244, 203, 215, 0.9), rgba(200, 189, 232, 0.72)),
    var(--pink-100);
  border-bottom: 1px solid rgba(94, 61, 50, 0.12);
}

.manga-card__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.manga-card__cover img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  object-fit: cover;
  transition: transform 300ms ease;
}

.manga-card:hover .manga-card__cover img {
  transform: scale(1.025);
}

.manga-card__fallback {
  padding: 27px 20px 22px;
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  color: var(--berry-dark);
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.38) 0 26px, transparent 27px),
    linear-gradient(135deg, rgba(244, 203, 215, 0.96), rgba(200, 189, 232, 0.85));
}

.manga-card__fallback::before {
  content: "";
  width: 5px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 13px;
  background: rgba(135, 56, 78, 0.22);
}

.manga-card__fallback i {
  padding-left: 9px;
  font-family: var(--hand);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
}

.manga-card__fallback small {
  padding-left: 9px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manga-card__details {
  min-height: 145px;
  padding: 20px 18px 18px;
}

.manga-card__details .card-meta {
  margin-bottom: 10px;
}

.manga-card__details h3 {
  margin-bottom: 7px;
  color: var(--brown);
  font-family: var(--hand);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.manga-card__details > p:last-child {
  margin: 0;
  color: var(--brown-soft);
  font-size: 13px;
  line-height: 1.45;
}

.manga-card__creator {
  margin-bottom: 7px;
}

.manga-card__facts {
  margin: 0 0 10px;
  color: var(--brown-soft);
  font-family: var(--mono);
  font-size: 9px !important;
  line-height: 1.5;
}

.manga-card__tags {
  margin: 11px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
}

.manga-card__tags li {
  padding: 3px 7px;
  color: var(--berry);
  background: var(--pink-50);
  border: 1px solid rgba(135, 56, 78, 0.14);
  border-radius: 20px;
  font-family: var(--mono);
  font-size: 7px;
}

.manga-card__recommendation {
  margin-top: 13px;
  display: inline-block;
  color: var(--berry);
  border-bottom: 1px solid var(--rose);
  font-family: var(--mono);
  font-size: 9px;
}

.catalog__more {
  padding-top: 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.catalog__more p {
  margin: 0;
  color: var(--brown-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.catalog__more .button {
  min-width: 168px;
  cursor: pointer;
}

.catalog__more .button[hidden] {
  display: none;
}

.catalog-load-error {
  padding: 70px 25px;
  grid-column: 1 / -1;
  color: var(--brown-soft);
  text-align: center;
}

.catalog-load-error a {
  margin-top: 12px;
  display: inline-block;
  color: var(--berry);
  border-bottom: 1px solid var(--rose);
  font-family: var(--mono);
  font-size: 11px;
}

.collection-record dd a {
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.event-status__contact {
  margin-top: 14px;
  display: inline-flex;
  gap: 6px;
  color: var(--berry-dark);
  border-bottom: 1px solid rgba(104, 42, 61, 0.42);
  font-family: var(--mono);
  font-size: 9px;
}

.story__mission-board {
  min-height: 520px;
  padding: 55px 50px 43px;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    var(--berry);
  background-size: 100% 32px;
  border: 12px solid var(--white);
  box-shadow: 0 18px 45px rgba(94, 61, 50, 0.1);
  transform: rotate(-1.2deg);
}

.story__mission-board > img {
  width: 310px;
  height: 310px;
  position: absolute;
  right: -95px;
  bottom: -87px;
  border-radius: 50%;
  opacity: 0.13;
  mix-blend-mode: screen;
}

.story__mission-board .card-meta {
  color: var(--pink-200);
}

.story__mission-line {
  margin: 46px 0 49px;
  position: relative;
  z-index: 1;
  color: var(--white);
  font-family: var(--hand);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.38;
}

.story__mission-board ul {
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  list-style: none;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--mono);
  font-size: 10px;
}

.story__mission-board li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.story__mission-board li span {
  color: var(--peach);
}

.event-fallback {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  border: 1px solid rgba(94, 61, 50, 0.16);
}

.event-fallback[hidden] {
  display: none;
}

.event-feature {
  min-height: 380px;
  padding: 54px 55px;
  display: grid;
  grid-template-columns: 95px 1fr;
  align-items: center;
  gap: 35px;
  background: var(--blush);
  border-right: 1px solid rgba(94, 61, 50, 0.16);
  transition: background 180ms ease;
}

.event-feature:hover {
  background: var(--pink-50);
}

.event-feature__stamp {
  width: 88px;
  height: 112px;
  position: relative;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--berry);
  border: 4px double rgba(255, 255, 255, 0.68);
  outline: 1px dashed var(--berry);
  text-align: center;
  transform: rotate(-3deg);
}

.event-feature__stamp span {
  font-family: var(--hand);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
}

.event-feature__stamp small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.event-feature h3,
.event-follow h3 {
  color: var(--brown);
  font-family: var(--hand);
  font-weight: 600;
}

.event-feature h3 {
  max-width: 540px;
  margin-bottom: 13px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.3;
}

.event-feature p:not(.card-meta),
.event-follow > p:not(.card-meta) {
  color: var(--brown-soft);
  font-size: 15px;
}

.event-feature .text-link {
  margin-top: 10px;
}

.event-feature .text-link i {
  font-style: normal;
}

.event-follow {
  padding: 50px 38px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  background: var(--white);
}

.event-follow h3 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.35;
}

.event-follow__actions {
  margin-top: 9px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 17px;
}

.event-follow__actions .button {
  min-width: 210px;
}

.merch-feature {
  min-height: 430px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.7) 0 2px, transparent 3px),
    var(--lavender);
  background-size: 34px 34px;
  border: 13px solid var(--white);
  box-shadow: 0 16px 36px rgba(94, 61, 50, 0.09);
  transform: rotate(1deg);
}

.merch-feature__tape {
  width: 88px;
  height: 23px;
  position: absolute;
  top: -5px;
  left: 50%;
  z-index: 3;
  background: rgba(255, 240, 245, 0.84);
  transform: translateX(-50%) rotate(-2deg);
}

.merch-feature > p {
  position: absolute;
  top: 22px;
  right: 20px;
  color: rgba(104, 42, 61, 0.56);
  font-family: var(--hand);
  font-size: 11px;
  line-height: 1.7;
  text-align: right;
}

.merch-feature__bag {
  width: 215px;
  height: 250px;
  padding: 33px 28px 22px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  background: var(--cream);
  box-shadow: 0 15px 30px rgba(94, 61, 50, 0.16);
}

.merch-feature__bag::before {
  content: "";
  height: 18px;
  position: absolute;
  inset: 0 0 auto;
  background: repeating-linear-gradient(
    90deg,
    var(--berry) 0 12px,
    var(--pink-200) 12px 24px
  );
}

.merch-feature__bag img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 50%;
}

.merch-feature__bag span,
.merch-feature > small {
  font-family: var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.merch-feature__bag span {
  color: var(--berry);
  font-size: 7px;
}

.merch-feature > small {
  position: absolute;
  bottom: 17px;
  color: var(--berry-dark);
  font-size: 8px;
}

.support__actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 15px;
}

.support__actions > a:not(.button) {
  color: var(--pink-200);
  border-bottom: 1px solid rgba(244, 203, 215, 0.55);
  font-family: var(--mono);
  font-size: 10px;
}

.footer__utility > p a {
  color: var(--berry);
  border-bottom: 1px solid var(--rose);
}

@media (max-width: 1110px) {
  .manga-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .event-feature {
    padding-inline: 38px;
    grid-template-columns: 78px 1fr;
    gap: 26px;
  }
}

@media (max-width: 820px) {
  .hero__library-slip {
    margin-left: -35px;
  }

  .event-fallback {
    grid-template-columns: 1fr;
  }

  .event-feature {
    min-height: 340px;
    border-right: 0;
    border-bottom: 1px solid rgba(94, 61, 50, 0.16);
  }

  .event-follow {
    min-height: 300px;
  }
}

@media (max-width: 620px) {
  section[id] {
    scroll-margin-top: 76px;
  }

  .hero__library-slip {
    width: min(330px, 92%);
    margin: -7px auto 0;
    transform: rotate(1deg);
  }

  .manga-grid {
    min-height: 260px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 9px;
  }

  .catalog__facets {
    max-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    border: 0;
    transition:
      max-height 240ms ease,
      opacity 180ms ease,
      padding 240ms ease;
  }

  .catalog__facets.is-open {
    max-height: 850px;
    margin-bottom: 18px;
    padding: 13px;
    opacity: 1;
    border: 1px solid rgba(94, 61, 50, 0.13);
  }

  .catalog-facet {
    min-width: 100%;
  }

  .manga-card__details {
    min-height: 128px;
    padding: 15px 12px 14px;
  }

  .manga-card__details .card-meta {
    font-size: 8px;
  }

  .manga-card__details h3 {
    font-size: 14px;
  }

  .manga-card__details > p:last-child {
    font-size: 11px;
  }

  .manga-card__fallback {
    padding: 20px 14px 17px;
  }

  .manga-card__fallback i {
    font-size: 14px;
  }

  .catalog__more {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog__more .button {
    width: 100%;
  }

  .story__mission-board {
    min-height: 430px;
    padding: 43px 29px 34px;
    order: 2;
  }

  .story__mission-line {
    margin: 35px 0 42px;
  }

  .event-feature {
    padding: 38px 26px;
    grid-template-columns: 1fr;
  }

  .event-feature__stamp {
    width: 72px;
    height: 90px;
  }

  .event-feature__stamp span {
    font-size: 29px;
  }

  .event-follow {
    min-height: 0;
    padding: 40px 26px;
  }

  .merch-feature {
    min-height: 350px;
  }

  .merch-feature__bag {
    width: 180px;
    height: 215px;
  }

  .merch-feature__bag img {
    width: 125px;
    height: 125px;
  }

  .support__actions .button {
    width: 100%;
  }
}

/* ---------- Generated manga editorial pages ---------- */
.editorial-page__main {
  padding-block: 80px 110px;
}

.editorial-page__draft {
  margin-bottom: 34px;
  padding: 12px 16px;
  color: var(--berry-dark);
  background: var(--pink-100);
  border: 1px solid var(--pink-200);
  font-family: var(--mono);
  font-size: 10px;
}

.editorial-page__hero {
  margin-bottom: 70px;
  display: grid;
  grid-template-columns: minmax(230px, 0.55fr) 1fr;
  align-items: center;
  gap: clamp(50px, 8vw, 100px);
}

.editorial-page__hero h1 {
  margin-bottom: 14px;
  color: var(--brown);
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.08;
}

.editorial-page__creators {
  margin-bottom: 24px;
  color: var(--berry);
  font-family: var(--mono);
  font-size: 12px;
}

.editorial-page__cover {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 0.72;
  object-fit: cover;
  background: var(--pink-50);
  border: 12px solid var(--white);
  box-shadow: var(--shadow);
}

.editorial-page__cover--fallback {
  padding: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  background:
    linear-gradient(rgba(135, 56, 78, 0.06) 1px, transparent 1px),
    var(--pink-100);
  background-size: 100% 31px;
}

.editorial-page__cover--fallback img {
  width: 100%;
  margin-block: auto;
  border-radius: 50%;
}

.editorial-page__cover--fallback span {
  color: var(--berry);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editorial-page__content {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.42fr);
  align-items: start;
  gap: 75px;
}

.editorial-page__content section {
  margin-bottom: 42px;
}

.editorial-page__content section h2,
.editorial-page__related h2 {
  margin-bottom: 13px;
  color: var(--brown);
  font-family: var(--hand);
  font-size: 29px;
  font-weight: 600;
}

.editorial-page__content section p {
  color: var(--brown-soft);
  font-size: 16px;
}

.editorial-page__inventory {
  padding: 30px;
  background: var(--berry);
  border-radius: 7px;
}

.editorial-page__inventory .card-meta {
  color: var(--pink-200);
}

.editorial-page__inventory h2,
.editorial-page__inventory h3 {
  color: var(--white);
  font-family: var(--hand);
  font-weight: 600;
}

.editorial-page__inventory h2 {
  font-size: 26px;
}

.editorial-page__inventory h3 {
  margin: 24px 0 7px;
  font-size: 18px;
}

.editorial-page__inventory p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.editorial-page__related {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.editorial-page__related ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}

.editorial-page__related a {
  padding: 10px 15px;
  display: inline-block;
  color: var(--berry);
  background: var(--pink-50);
  border: 1px solid var(--pink-200);
  font-family: var(--mono);
  font-size: 11px;
}

@media (max-width: 820px) {
  .editorial-page__hero,
  .editorial-page__content {
    grid-template-columns: 1fr;
  }

  .editorial-page__cover {
    max-width: 340px;
  }

  .editorial-page__content {
    gap: 30px;
  }
}

@media (max-width: 620px) {
  .editorial-page__main {
    padding-block: 50px 80px;
  }

  .editorial-page__hero {
    margin-bottom: 55px;
    gap: 36px;
  }

  .editorial-page__cover {
    max-width: 270px;
  }

  .editorial-page__hero h1 {
    font-size: 43px;
  }
}

/* Keep catalog refinements last so legacy responsive rules cannot override them. */
.manga-grid {
  min-height: 340px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px 14px;
}

.catalog__facets {
  margin: 0 0 20px;
  padding: 15px;
  display: none;
  background: rgba(255, 255, 255, 0.74);
  border: 0;
  border-right: 1px solid rgba(94, 61, 50, 0.1);
  border-bottom: 1px solid rgba(94, 61, 50, 0.1);
  border-left: 1px solid rgba(94, 61, 50, 0.1);
}

.catalog__facets.is-open {
  display: flex;
}

.catalog__facets[hidden] {
  display: none;
}

.manga-card {
  border-color: rgba(94, 61, 50, 0.13);
  border-radius: 8px;
  box-shadow: 0 7px 20px rgba(94, 61, 50, 0.04);
}

.manga-card:hover {
  box-shadow: 0 15px 28px rgba(94, 61, 50, 0.1);
  transform: translateY(-3px);
}

.manga-card__cover {
  aspect-ratio: 2 / 3;
  background: #f3ecee;
}

.manga-card__cover img {
  object-fit: contain;
  background: #f3ecee;
}

.manga-card__details {
  min-height: 126px;
  padding: 15px 14px 14px;
}

.manga-card__details h3 {
  min-height: 40px;
  margin-bottom: 5px;
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.manga-card__creator {
  margin-bottom: 7px;
  overflow: hidden;
  color: var(--brown-soft);
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manga-card__facts {
  margin-bottom: 0;
  display: -webkit-box;
  overflow: hidden;
  color: rgba(94, 61, 50, 0.7);
  font-size: 8px !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 1180px) {
  .manga-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .manga-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .catalog__filters,
  .catalog__filters.is-open,
  .catalog--real .catalog__filters {
    max-height: none;
    padding: 12px 0 15px;
    overflow-x: auto;
    flex-wrap: nowrap;
    opacity: 1;
  }

  .catalog__facets {
    max-height: none;
    margin: 0 0 15px;
    padding: 12px;
    display: none;
    overflow: visible;
    opacity: 1;
  }

  .catalog__facets.is-open {
    display: flex;
  }

  .manga-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 9px;
  }

  .manga-card__details {
    min-height: 118px;
    padding: 12px 10px;
  }

  .manga-card__details h3 {
    min-height: 36px;
    font-size: 13px;
  }
}

/* ==========================================================================
   Our story page
   ========================================================================== */

.story-page {
  background: var(--white);
}

.story-page__hero {
  min-height: 720px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 78% 34%, rgba(244, 203, 215, 0.48), transparent 29%),
    linear-gradient(135deg, var(--white), var(--blush));
}

.story-page__hero::before,
.story-page__hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(200, 120, 142, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.story-page__hero::before {
  width: 410px;
  height: 410px;
  top: -235px;
  left: -120px;
  box-shadow:
    0 0 0 46px rgba(200, 120, 142, 0.025),
    0 0 0 92px rgba(200, 120, 142, 0.018);
}

.story-page__hero::after {
  width: 310px;
  height: 310px;
  right: -190px;
  bottom: -170px;
  box-shadow:
    0 0 0 38px rgba(200, 120, 142, 0.022),
    0 0 0 76px rgba(200, 120, 142, 0.016);
}

.story-page__hero-grid {
  padding-block: 86px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.78fr);
  align-items: center;
  gap: clamp(60px, 8vw, 110px);
}

.story-page__hero-copy h1 {
  max-width: 690px;
  margin-bottom: 27px;
  font-size: clamp(58px, 6.1vw, 86px);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.story-page__hero-copy h1 em {
  color: var(--berry);
  font-family: var(--hand);
  font-style: normal;
  font-weight: 600;
}

.story-page__intro {
  max-width: 650px;
  margin-bottom: 39px;
  color: var(--brown-soft);
  font-size: 18px;
  line-height: 1.72;
}

.story-page__jump {
  max-width: 600px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.story-page__jump a {
  padding: 17px 14px 14px 0;
  color: var(--brown-soft);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  transition: color 180ms ease, border-color 180ms ease;
}

.story-page__jump a + a {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.story-page__jump a:hover {
  color: var(--berry);
  border-bottom-color: var(--rose);
}

.story-page__jump span {
  display: block;
  margin-bottom: 5px;
  color: var(--rose);
  font-size: 8px;
}

.story-page__art-card {
  min-width: 0;
  margin: 0;
  padding: 19px 19px 16px;
  position: relative;
  background: var(--white);
  border: 1px solid rgba(94, 61, 50, 0.13);
  box-shadow: 0 26px 60px rgba(94, 61, 50, 0.12);
  transform: rotate(1.25deg);
}

.story-page__art-card::before {
  content: "";
  width: 105px;
  height: 28px;
  position: absolute;
  z-index: 2;
  top: -14px;
  left: 50%;
  background: rgba(232, 180, 148, 0.58);
  transform: translateX(-50%) rotate(-2deg);
}

.story-page__art-card .card-meta {
  margin: 5px 0 13px;
  color: var(--berry);
}

.story-page__art-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(200, 120, 142, 0.12);
}

.story-page__art-card figcaption {
  margin: 14px 4px 0;
  color: var(--brown-soft);
  font-family: var(--hand);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.story-page__chapter {
  padding: 125px 0;
  scroll-margin-top: 80px;
}

.story-page__chapter--tinted {
  position: relative;
  overflow: hidden;
  background: var(--blush);
  border-block: 1px solid rgba(94, 61, 50, 0.08);
}

.story-page__chapter--tinted::after {
  content: "物語";
  position: absolute;
  right: -20px;
  bottom: -95px;
  color: rgba(200, 120, 142, 0.055);
  font-family: var(--hand);
  font-size: 250px;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
}

.story-page__chapter-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(65px, 10vw, 140px);
}

.story-page__chapter-heading {
  align-self: start;
  position: sticky;
  top: 130px;
}

.story-page__chapter-number {
  margin-bottom: 24px;
  display: block;
  color: var(--pink-200);
  font-family: var(--mono);
  font-size: 54px;
  font-weight: 300;
  letter-spacing: -0.08em;
  line-height: 1;
}

.story-page__chapter-heading .kicker,
.story-page__section-intro .kicker {
  margin-bottom: 14px;
}

.story-page__chapter-heading h2,
.story-page__section-intro h2 {
  margin: 0;
  color: var(--brown);
  font-size: clamp(37px, 4.2vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.story-page__prose {
  max-width: 760px;
}

.story-page__prose p {
  margin-bottom: 28px;
  color: #6b4d43;
  font-size: 19px;
  line-height: 1.82;
}

.story-page__prose p:first-child::first-letter {
  margin: 7px 10px 0 0;
  float: left;
  color: var(--berry);
  font-family: var(--hand);
  font-size: 61px;
  font-weight: 600;
  line-height: 0.72;
}

.story-page__section-intro {
  margin-bottom: 58px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(330px, 0.88fr) minmax(0, 1.12fr);
  align-items: end;
  gap: clamp(60px, 9vw, 125px);
}

.story-page__section-intro > p {
  margin: 0;
  color: #6b4d43;
  font-size: 17px;
  line-height: 1.78;
}

.story-page__values {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.story-page__value-card {
  min-height: 225px;
  padding: 28px 25px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(94, 61, 50, 0.13);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.story-page__value-card:hover {
  border-color: rgba(135, 56, 78, 0.3);
  box-shadow: 0 16px 36px rgba(94, 61, 50, 0.07);
  transform: translateY(-4px);
}

.story-page__value-card > span {
  margin-bottom: 30px;
  display: block;
  color: var(--rose);
  font-size: 17px;
}

.story-page__value-card h3 {
  margin-bottom: 10px;
  color: var(--brown);
  font-family: var(--hand);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}

.story-page__value-card p {
  margin: 0;
  color: var(--brown-soft);
  font-size: 13px;
  line-height: 1.6;
}

.story-page__aspirations {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  list-style: none;
}

.story-page__aspirations li {
  min-height: 165px;
  padding: 31px 30px 31px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.story-page__aspirations li:nth-child(even) {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.story-page__aspirations li > span {
  color: var(--rose);
  font-family: var(--mono);
  font-size: 10px;
}

.story-page__aspirations h3 {
  margin-bottom: 8px;
  color: var(--brown);
  font-family: var(--hand);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
}

.story-page__aspirations p {
  margin: 0;
  color: var(--brown-soft);
  font-size: 14px;
}

.story-page__closing {
  padding: 78px 0;
  background: var(--pink-100);
}

.story-page__closing-card {
  min-height: 440px;
  padding: 70px 8%;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--berry);
  background-size: 100% 33px;
  box-shadow: 0 22px 60px rgba(94, 61, 50, 0.13);
}

.story-page__closing-card > img {
  width: 410px;
  height: 410px;
  position: absolute;
  right: -90px;
  bottom: -125px;
  border-radius: 50%;
  opacity: 0.12;
  mix-blend-mode: screen;
}

.story-page__closing-card > div {
  max-width: 830px;
  position: relative;
  z-index: 1;
}

.story-page__closing blockquote {
  margin-bottom: 38px;
  color: var(--white);
  font-family: var(--hand);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.23;
}

.story-page__actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.story-page__actions .button {
  color: var(--berry);
  background: var(--white);
  border-color: var(--white);
}

.story-page__actions .button:hover {
  color: var(--berry-dark);
  background: var(--pink-50);
}

.story-page__actions .text-link {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.56);
}

@media (max-width: 1050px) {
  .story-page__hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.7fr);
    gap: 50px;
  }

  .story-page__hero-copy h1 {
    font-size: clamp(52px, 6.4vw, 72px);
  }

  .story-page__values {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-page__value-card {
    min-height: 195px;
  }
}

@media (max-width: 820px) {
  .story-page__hero {
    min-height: 0;
  }

  .story-page__hero-grid {
    padding-block: 70px 85px;
    grid-template-columns: 1fr;
  }

  .story-page__hero-copy {
    max-width: 690px;
  }

  .story-page__art-card {
    width: min(520px, 88%);
    justify-self: center;
  }

  .story-page__chapter {
    padding: 95px 0;
  }

  .story-page__chapter-grid,
  .story-page__section-intro {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .story-page__chapter-heading {
    position: static;
  }
}

@media (max-width: 620px) {
  .story-page__hero-grid {
    padding-block: 52px 68px;
    gap: 48px;
  }

  .story-page__hero-copy h1 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .story-page__intro {
    font-size: 16px;
  }

  .story-page__jump {
    grid-template-columns: 1fr;
  }

  .story-page__jump a,
  .story-page__jump a + a {
    padding: 13px 0;
    border-left: 0;
  }

  .story-page__jump span {
    margin: 0 8px 0 0;
    display: inline;
  }

  .story-page__art-card {
    width: 96%;
    padding: 14px 14px 13px;
  }

  .story-page__chapter {
    padding: 76px 0;
  }

  .story-page__chapter-number {
    margin-bottom: 18px;
    font-size: 43px;
  }

  .story-page__chapter-heading h2,
  .story-page__section-intro h2 {
    font-size: 38px;
  }

  .story-page__prose p {
    font-size: 16px;
    line-height: 1.78;
  }

  .story-page__section-intro {
    margin-bottom: 40px;
    gap: 30px;
  }

  .story-page__section-intro > p {
    font-size: 15px;
  }

  .story-page__values,
  .story-page__aspirations {
    grid-template-columns: 1fr;
  }

  .story-page__value-card {
    min-height: 0;
  }

  .story-page__value-card > span {
    margin-bottom: 20px;
  }

  .story-page__aspirations li,
  .story-page__aspirations li:nth-child(even) {
    min-height: 0;
    padding: 26px 0;
    border-left: 0;
  }

  .story-page__closing {
    padding: 35px 0;
  }

  .story-page__closing-card {
    min-height: 500px;
    padding: 58px 29px;
  }

  .story-page__closing blockquote {
    font-size: 40px;
  }

  .story-page__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
  }

  .story-page__actions .button {
    width: 100%;
  }

  .story-page .footer__top {
    padding-bottom: 38px;
  }
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-page {
  background: var(--white);
}

.contact-page__hero {
  padding: 104px 0 122px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 24%, rgba(244, 203, 215, 0.44), transparent 26%),
    radial-gradient(circle at 93% 88%, rgba(200, 189, 232, 0.25), transparent 24%),
    linear-gradient(135deg, var(--white), var(--blush));
}

.contact-page__hero::before,
.contact-page__hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(200, 120, 142, 0.11);
  border-radius: 50%;
  pointer-events: none;
}

.contact-page__hero::before {
  width: 390px;
  height: 390px;
  position: absolute;
  top: -270px;
  right: 13%;
  box-shadow:
    0 0 0 42px rgba(200, 120, 142, 0.025),
    0 0 0 84px rgba(200, 120, 142, 0.018);
}

.contact-page__hero::after {
  width: 280px;
  height: 280px;
  position: absolute;
  bottom: -195px;
  left: -125px;
  box-shadow:
    0 0 0 35px rgba(200, 120, 142, 0.022),
    0 0 0 70px rgba(200, 120, 142, 0.016);
}

.contact-page__hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(500px, 1.08fr);
  align-items: start;
  gap: clamp(60px, 7vw, 105px);
}

.contact-page__intro h1 {
  max-width: 630px;
  margin-bottom: 27px;
  font-size: clamp(56px, 5.4vw, 78px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.contact-page__intro h1 em {
  color: var(--berry);
  font-family: var(--hand);
  font-style: normal;
  font-weight: 600;
}

.contact-page__lede {
  max-width: 585px;
  margin-bottom: 43px;
  color: var(--brown-soft);
  font-size: 18px;
  line-height: 1.72;
}

.contact-page__paths {
  border-top: 1px solid rgba(94, 61, 50, 0.16);
}

.contact-page__paths article {
  padding: 23px 0;
  display: grid;
  grid-template-columns: 39px 1fr;
  gap: 16px;
  border-bottom: 1px solid rgba(94, 61, 50, 0.16);
}

.contact-page__path-number {
  padding-top: 3px;
  color: var(--rose);
  font-family: var(--mono);
  font-size: 9px;
}

.contact-page__paths h2 {
  margin-bottom: 6px;
  color: var(--brown);
  font-family: var(--hand);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
}

.contact-page__paths p {
  margin: 0;
  color: var(--brown-soft);
  font-size: 13px;
  line-height: 1.65;
}

.contact-page__direct {
  margin-top: 34px;
  padding: 23px 25px;
  position: relative;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(135, 56, 78, 0.18);
  box-shadow: 0 12px 28px rgba(94, 61, 50, 0.055);
}

.contact-page__direct::before {
  content: "";
  width: 54px;
  height: 16px;
  position: absolute;
  top: -9px;
  left: 50%;
  background: rgba(244, 203, 215, 0.82);
  transform: translateX(-50%) rotate(-2deg);
}

.contact-page__direct .card-meta {
  margin-bottom: 11px;
}

.contact-page__direct a {
  display: inline-block;
  color: var(--berry);
  border-bottom: 1px solid var(--rose);
  font-family: var(--mono);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.contact-page__direct button {
  margin-left: 12px;
  padding: 7px 10px;
  color: var(--brown-soft);
  background: var(--pink-50);
  border: 1px solid rgba(135, 56, 78, 0.18);
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 9px;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.contact-page__direct button:hover {
  color: var(--berry);
  border-color: rgba(135, 56, 78, 0.42);
  transform: translateY(-2px);
}

.contact-page__form-card {
  padding: clamp(36px, 4.5vw, 60px);
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(135, 56, 78, 0.17);
  box-shadow: 0 28px 70px rgba(94, 61, 50, 0.11);
}

.contact-page__form-card::before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(200, 120, 142, 0.12);
  pointer-events: none;
}

.contact-page__form-heading,
.contact-form,
.contact-form__noscript {
  position: relative;
  z-index: 1;
}

.contact-page__form-heading {
  margin-bottom: 35px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(94, 61, 50, 0.15);
}

.contact-page__form-heading h2 {
  margin-bottom: 12px;
  color: var(--brown);
  font-family: var(--hand);
  font-size: clamp(31px, 3vw, 43px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.contact-page__form-heading > p:last-child {
  max-width: 510px;
  margin: 0;
  color: var(--brown-soft);
  font-size: 14px;
  line-height: 1.65;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.contact-form label > span {
  color: var(--berry);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.contact-form label > span strong {
  color: var(--rose);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--brown);
  background: var(--white);
  border: 1px solid rgba(94, 61, 50, 0.2);
  border-radius: 5px;
  outline: 0;
  font-family: var(--sans);
  font-size: 15px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.contact-form input,
.contact-form select {
  min-height: 52px;
  padding: 0 15px;
}

.contact-form select {
  padding-right: 38px;
}

.contact-form textarea {
  min-height: 180px;
  padding: 15px;
  line-height: 1.6;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(126, 91, 78, 0.58);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: #fffdfd;
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(200, 120, 142, 0.12);
}

.contact-form__footer {
  padding-top: 4px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.contact-form__footer .button {
  min-width: 190px;
  flex: none;
  justify-content: center;
  cursor: pointer;
}

.contact-form__footer > p {
  margin: 0;
  color: var(--brown-soft);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.65;
}

.contact-form__footer > p span {
  margin-right: 5px;
  color: var(--rose);
}

.contact-form__status {
  min-height: 19px;
  margin: -6px 0 0;
  color: var(--brown-soft);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.6;
}

.contact-form__status[data-state="success"] {
  color: #5f7656;
}

.contact-form__status[data-state="error"] {
  color: var(--berry);
}

.contact-form__noscript {
  margin-top: 18px;
  padding: 13px 15px;
  color: var(--brown-soft);
  background: var(--pink-50);
  border-left: 2px solid var(--rose);
  font-size: 12px;
}

.contact-form__noscript a {
  color: var(--berry);
  border-bottom: 1px solid var(--rose);
}

.contact-page__social {
  padding: 90px 0;
  background: var(--white);
  border-top: 1px solid rgba(94, 61, 50, 0.1);
}

.contact-page__social-inner {
  display: grid;
  grid-template-columns: minmax(270px, 0.65fr) minmax(0, 1.35fr);
  align-items: end;
  gap: 80px;
}

.contact-page__social h2 {
  max-width: 470px;
  color: var(--brown);
  font-family: var(--hand);
  font-size: clamp(34px, 3.4vw, 49px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.contact-page__social-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(94, 61, 50, 0.18);
}

.contact-page__social-links a {
  min-width: 0;
  padding: 26px 24px 24px 0;
  position: relative;
  display: grid;
  gap: 7px;
  border-bottom: 1px solid rgba(94, 61, 50, 0.18);
}

.contact-page__social-links a:nth-child(2) {
  padding-left: 24px;
  border-left: 1px solid rgba(94, 61, 50, 0.18);
}

.contact-page__social-links span {
  color: var(--berry);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-page__social-links strong {
  min-width: 0;
  color: var(--brown);
  font-family: var(--hand);
  font-size: 17px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-page__social-links i {
  position: absolute;
  top: 26px;
  right: 5px;
  color: var(--rose);
  font-family: var(--mono);
  font-size: 12px;
  font-style: normal;
  transition: transform 180ms ease;
}

.contact-page__social-links a:hover i {
  transform: translate(2px, -2px);
}

@media (min-width: 821px) and (max-width: 1050px) {
  .brand {
    min-width: 48px;
  }

  .brand__words {
    display: none;
  }

  .site-nav {
    gap: 13px;
    font-size: 9px;
  }

  .nav-support {
    padding-inline: 11px;
  }
}

@media (max-width: 1050px) {
  .contact-page__hero-grid {
    grid-template-columns: minmax(0, 0.76fr) minmax(440px, 1fr);
    gap: 46px;
  }

  .contact-page__intro h1 {
    font-size: clamp(50px, 6vw, 65px);
  }

  .contact-page__form-card {
    padding: 38px 34px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .contact-page__hero {
    padding: 72px 0 88px;
  }

  .contact-page__hero-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .contact-page__intro {
    max-width: 660px;
  }

  .contact-page__form-card {
    max-width: 680px;
  }

  .contact-page__social {
    padding: 74px 0;
  }

  .contact-page__social-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 540px) {
  .contact-page__hero {
    padding: 62px 0 72px;
  }

  .contact-page__intro h1 {
    margin-bottom: 23px;
    font-size: 49px;
  }

  .contact-page__lede {
    margin-bottom: 35px;
    font-size: 16px;
  }

  .contact-page__paths article {
    padding: 20px 0;
    grid-template-columns: 31px 1fr;
    gap: 10px;
  }

  .contact-page__direct {
    padding: 22px 19px;
  }

  .contact-page__direct a {
    display: block;
    font-size: 11px;
  }

  .contact-page__direct button {
    margin: 13px 0 0;
  }

  .contact-page__form-card {
    padding: 34px 24px;
  }

  .contact-page__form-card::before {
    inset: 8px;
  }

  .contact-page__form-heading h2 {
    font-size: 35px;
  }

  .contact-form {
    gap: 19px;
  }

  .contact-form__footer {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .contact-form__footer .button {
    width: 100%;
  }

  .contact-page__social-links {
    grid-template-columns: 1fr;
  }

  .contact-page__social-links a:nth-child(2) {
    padding-left: 0;
    border-left: 0;
  }
}

/* ==========================================================================
   Terms and conditions page
   ========================================================================== */

.terms-page {
  background: var(--white);
}

.terms-page__hero {
  position: relative;
  overflow: hidden;
  color: var(--brown);
  background:
    radial-gradient(circle at 84% 26%, rgba(244, 203, 215, 0.48), transparent 24%),
    linear-gradient(135deg, var(--white), var(--blush));
  border-bottom: 1px solid rgba(94, 61, 50, 0.11);
}

.terms-page__hero::before {
  content: "";
  width: 420px;
  height: 420px;
  position: absolute;
  top: -250px;
  right: -80px;
  border: 1px solid rgba(200, 120, 142, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 46px rgba(200, 120, 142, 0.025),
    0 0 0 92px rgba(200, 120, 142, 0.018);
}

.terms-page__hero-inner {
  min-height: 510px;
  padding-block: 88px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: center;
  gap: 90px;
}

.terms-page__hero h1 {
  margin-bottom: 25px;
  font-size: clamp(61px, 7vw, 94px);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.terms-page__hero h1 em {
  color: var(--berry);
  font-family: var(--hand);
  font-style: normal;
  font-weight: 600;
}

.terms-page__hero-inner > div > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--brown-soft);
  font-size: 18px;
  line-height: 1.72;
}

.terms-page__hero aside {
  padding: 31px 28px 28px;
  position: relative;
  display: grid;
  gap: 8px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(135, 56, 78, 0.18);
  box-shadow: 0 15px 35px rgba(94, 61, 50, 0.07);
  transform: rotate(1.2deg);
}

.terms-page__hero aside::before {
  content: "";
  width: 62px;
  height: 18px;
  position: absolute;
  top: -10px;
  left: 50%;
  background: rgba(244, 203, 215, 0.82);
  transform: translateX(-50%) rotate(-3deg);
}

.terms-page__hero aside .card-meta {
  margin-bottom: 12px;
}

.terms-page__hero aside strong {
  color: var(--berry);
  font-family: var(--hand);
  font-size: 22px;
  font-weight: 600;
}

.terms-page__hero aside span {
  color: var(--brown-soft);
  font-size: 13px;
}

.terms-page__hero aside small {
  margin-top: 14px;
  padding-top: 14px;
  color: var(--brown-soft);
  border-top: 1px solid rgba(94, 61, 50, 0.13);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.terms-page__layout {
  padding-block: 100px 125px;
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  align-items: start;
  gap: clamp(65px, 8vw, 120px);
}

.terms-page__contents {
  padding: 27px 24px;
  position: sticky;
  top: 105px;
  background: var(--pink-50);
  border: 1px solid rgba(135, 56, 78, 0.14);
}

.terms-page__contents .card-meta {
  margin-bottom: 18px;
}

.terms-page__contents nav {
  margin-bottom: 22px;
  display: grid;
  border-top: 1px solid rgba(94, 61, 50, 0.14);
}

.terms-page__contents nav a {
  padding: 12px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 5px;
  color: var(--brown);
  border-bottom: 1px solid rgba(94, 61, 50, 0.14);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.45;
}

.terms-page__contents nav a span {
  color: var(--rose);
  font-size: 8px;
}

.terms-page__contents > p {
  margin: 0 0 13px;
  color: var(--brown-soft);
  font-size: 11px;
  line-height: 1.65;
}

.terms-page__contents .text-link {
  font-size: 9px;
}

.terms-page__content {
  min-width: 0;
}

.terms-page__introduction {
  margin-bottom: 55px;
  padding: 32px 34px;
  background: var(--white);
  border: 1px solid rgba(94, 61, 50, 0.15);
  border-left: 3px solid var(--rose);
  box-shadow: 0 13px 32px rgba(94, 61, 50, 0.055);
}

.terms-page__introduction p {
  margin: 0;
  color: var(--brown-soft);
  font-size: 15px;
  line-height: 1.75;
}

.terms-page__introduction p + p {
  margin-top: 12px;
}

.terms-page__introduction strong {
  color: var(--brown);
}

.terms-page__group {
  margin-bottom: 65px;
  scroll-margin-top: 105px;
  border: 1px solid rgba(94, 61, 50, 0.14);
}

.terms-page__group > header {
  min-height: 62px;
  padding: 0 27px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--berry);
  background-size: 100% 28px;
}

.terms-page__group > header span {
  color: var(--pink-200);
  font-family: var(--mono);
  font-size: 9px;
}

.terms-page__group > header p {
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terms-page__group > section {
  padding: 40px 42px;
  display: grid;
  grid-template-columns: 47px minmax(0, 1fr);
  gap: 22px;
  background: var(--white);
  border-bottom: 1px solid rgba(94, 61, 50, 0.13);
}

.terms-page__group > section:last-child {
  border-bottom: 0;
}

.terms-page__number {
  color: var(--rose);
  font-family: var(--mono);
  font-size: 11px;
}

.terms-page__group h2 {
  margin-bottom: 16px;
  color: var(--brown);
  font-family: var(--hand);
  font-size: clamp(25px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.terms-page__group h3 {
  margin: 27px 0 9px;
  color: var(--berry);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.terms-page__group p,
.terms-page__group li {
  color: var(--brown-soft);
  font-size: 15px;
  line-height: 1.78;
}

.terms-page__group p {
  margin: 0;
}

.terms-page__group p + p {
  margin-top: 14px;
}

.terms-page__group strong {
  color: var(--brown);
  font-weight: 600;
}

.terms-page__group ul {
  margin: 17px 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.terms-page__group li {
  padding-left: 22px;
  position: relative;
}

.terms-page__group li::before {
  content: "✦";
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--rose);
  font-family: var(--mono);
  font-size: 8px;
}

.terms-page__note {
  margin-top: 22px !important;
  padding: 17px 19px;
  background: var(--pink-50);
  border-left: 2px solid var(--rose);
}

.terms-page__contact {
  padding: clamp(42px, 6vw, 68px);
  scroll-margin-top: 105px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 22px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 90%, rgba(244, 203, 215, 0.13), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--berry);
  background-size:
    auto,
    100% 31px,
    auto;
}

.terms-page__contact .terms-page__number {
  color: var(--pink-200);
}

.terms-page__contact h2 {
  margin-bottom: 17px;
  color: var(--white);
  font-family: var(--hand);
  font-size: clamp(34px, 4vw, 49px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.16;
}

.terms-page__contact p:not(.kicker) {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.7;
}

.terms-page__contact > div > a:not(.button) {
  color: var(--pink-200);
  border-bottom: 1px solid rgba(244, 203, 215, 0.55);
  font-family: var(--mono);
  font-size: 11px;
}

.terms-page__contact .button {
  width: max-content;
  margin-top: 28px;
  color: var(--berry);
  background: var(--white);
  border-color: var(--white);
}

@media (max-width: 960px) {
  .terms-page__hero-inner {
    grid-template-columns: minmax(0, 1fr) 275px;
    gap: 55px;
  }

  .terms-page__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .terms-page__contents {
    position: static;
  }

  .terms-page__contents nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .terms-page__contents nav a:nth-child(even) {
    padding-left: 20px;
    border-left: 1px solid rgba(94, 61, 50, 0.14);
  }
}

@media (max-width: 700px) {
  .terms-page__hero-inner {
    min-height: 0;
    padding-block: 72px 82px;
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .terms-page__hero aside {
    width: min(340px, 92%);
  }

  .terms-page__layout {
    padding-block: 70px 85px;
  }

  .terms-page__contents nav {
    grid-template-columns: 1fr;
  }

  .terms-page__contents nav a:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .terms-page__group > section {
    padding: 34px 27px;
    grid-template-columns: 37px minmax(0, 1fr);
    gap: 12px;
  }

  .terms-page__contact {
    grid-template-columns: 37px minmax(0, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .terms-page__hero h1 {
    font-size: 53px;
  }

  .terms-page__hero-inner > div > p:last-child {
    font-size: 16px;
  }

  .terms-page__introduction {
    padding: 27px 23px;
  }

  .terms-page__group > header {
    padding-inline: 20px;
  }

  .terms-page__group > section {
    padding: 31px 21px;
    grid-template-columns: 1fr;
  }

  .terms-page__number {
    margin-bottom: -2px;
  }

  .terms-page__group h2 {
    font-size: 27px;
  }

  .terms-page__group p,
  .terms-page__group li {
    font-size: 14px;
  }

  .terms-page__contact {
    padding: 42px 25px;
    grid-template-columns: 1fr;
  }

  .terms-page__contact .button {
    width: 100%;
  }
}
