.guides-page { min-height: 100vh; background: var(--canvas); }

.guide-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(255, 253, 251, .92); }
.guide-bar { display: flex; min-height: 4.75rem; align-items: center; justify-content: space-between; gap: 1rem; }
.mini-brand { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.05rem; font-weight: 650; letter-spacing: -.02em; text-decoration: none; }
.mini-brand strong { color: var(--plum); }
.mini-brand__mark { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; border: 1px solid rgba(116,81,200,.18); border-radius: .75rem; color: var(--plum); background: #fff; box-shadow: 0 8px 20px rgba(69,48,104,.08); }
.back-link { color: var(--muted); font-size: .9rem; font-weight: 680; text-decoration: none; }
.back-link:hover { color: var(--plum-deep); }

.catalog-hero, .reader-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 80% 10%, rgba(63,184,172,.15), transparent 30%), radial-gradient(circle at 12% 0, rgba(193,47,114,.13), transparent 32%), linear-gradient(145deg, #fffaf6, #f8f3ff 58%, #f0faf8); }
.catalog-hero__inner { padding-block: clamp(4rem, 9vw, 7rem); }
.guide-eyebrow { margin: 0 0 .4rem; color: var(--plum); font-size: .8rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.catalog-hero h1, .reader-hero h1 { max-width: 15ch; margin: 0; font-size: clamp(2.75rem, 7vw, 5.6rem); font-weight: 760; letter-spacing: -.06em; line-height: .98; }
.catalog-hero h1 span { display: block; color: var(--plum); }
.catalog-hero__inner > p:last-child, .reader-hero__inner > div > p:last-child { max-width: 38rem; margin: 1.2rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }

.collections { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-heading { display: grid; grid-template-columns: .8fr 1fr; align-items: end; gap: 2rem; margin-bottom: 1.5rem; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; line-height: 1.05; }
.section-heading > p { max-width: 34rem; margin: 0 0 .25rem auto; color: var(--muted); }
.collection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.collection-card { display: flex; min-width: 0; overflow: hidden; flex-direction: column; border: 1px solid var(--line); border-radius: 1.7rem; background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.collection-preview { position: relative; display: grid; overflow: hidden; aspect-ratio: 4 / 3; place-items: center; background: linear-gradient(145deg, #efe8fa, #e5f6f3); }
.collection-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 72%, rgba(255,255,255,.22)); pointer-events: none; }
.collection-preview img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform .35s ease; }
.collection-preview:hover img { transform: scale(1.025); }
.collection-badge { position: absolute; z-index: 1; right: 1rem; bottom: 1rem; padding: .45rem .75rem; border: 1px solid rgba(255,255,255,.55); border-radius: 99rem; color: #fff; background: rgba(37,35,61,.76); backdrop-filter: blur(8px); font-size: .8rem; font-weight: 700; }
.collection-copy { display: flex; padding: clamp(1.45rem, 3vw, 2rem); flex: 1; flex-direction: column; }
.collection-type { margin: 0 0 .45rem; color: var(--plum); font-size: .78rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.collection-copy h3 { max-width: 18ch; margin: 0; font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -.04em; line-height: 1.08; }
.collection-description { max-width: 32rem; margin: 1rem 0 1.5rem; color: var(--muted); }
.collection-copy .guide-button { margin-top: auto; }
.guide-button { display: inline-flex; width: fit-content; min-height: 2.8rem; padding: .7rem 1rem; align-items: center; justify-content: space-between; gap: 2rem; border-radius: .85rem; color: #fff; background: var(--plum); font-size: .92rem; font-weight: 720; text-decoration: none; transition: transform .2s ease, filter .2s ease; }
.guide-button:hover { filter: brightness(.93); transform: translateY(-2px); }

.reader-hero__inner { display: grid; grid-template-columns: 1fr; align-items: end; gap: 3rem; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.reader-hero h1 { max-width: 12ch; }

.infographic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); padding-block: clamp(2rem, 6vw, 4.5rem); list-style: none; counter-reset: guide-step; }
.infographic-grid li { min-width: 0; }
.infographic-grid figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1.35rem; background: #fff; box-shadow: var(--shadow); }
.infographic-grid figure > a { display: block; overflow: hidden; background: #f1edf6; }
.infographic-grid img { display: block; width: 100%; height: auto; min-height: 15rem; object-fit: contain; color: var(--muted); background: #f1edf6; transition: transform .3s ease; }
.infographic-grid a:hover img { transform: scale(1.012); }
.infographic-grid figcaption { display: flex; min-height: 3.75rem; padding: .8rem 1rem; align-items: center; gap: .7rem; color: var(--muted); font-size: .88rem; font-weight: 650; }
.infographic-grid figcaption span { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: .65rem; color: var(--plum); background: #f0eafb; font-size: .75rem; font-weight: 780; }
.reader-end { display: flex; margin-bottom: clamp(3.5rem, 8vw, 6rem); padding: 1.35rem; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid rgba(116,81,200,.17); border-radius: 1.3rem; background: linear-gradient(120deg, #f3ecfb, #edf9f7); }
.reader-end p { margin: 0; font-weight: 680; }

.guide-footer { padding: 1.5rem 0 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.guide-footer .shell { display: flex; justify-content: space-between; gap: 1rem; }
.guide-footer p { margin: 0; }
.guide-footer p span { color: var(--pink); }
.guide-footer a { font-weight: 650; text-decoration: none; }

@media (max-width: 48rem) {
  .section-heading, .reader-hero__inner { grid-template-columns: 1fr; }
  .section-heading { gap: .7rem; }
  .section-heading > p { margin-left: 0; }
  .collection-grid { grid-template-columns: 1fr; }
  .infographic-grid { grid-template-columns: 1fr; }
}

@media (max-width: 32rem) {
  .guide-bar { min-height: 4.25rem; }
  .mini-brand { font-size: .95rem; }
  .back-link { font-size: .82rem; }
  .catalog-hero__inner { padding-block: 3.4rem; }
  .catalog-hero h1, .reader-hero h1 { font-size: clamp(2.55rem, 13vw, 3.6rem); }
  .collection-copy { padding: 1.35rem; }
  .guide-button { width: 100%; }
  .infographic-grid { gap: 1rem; }
  .infographic-grid figure { border-radius: 1rem; }
  .reader-end { align-items: stretch; flex-direction: column; }
  .guide-footer .shell { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .collection-preview img, .infographic-grid img, .guide-button { transition: none; }
}
