/* Style landing pages (microrealismo, anime e manga, botanico).
 * Loaded after the page's own styles. Each page sets its accent on <body>:
 *   style-page--micro (warm gold) · style-page--anime (deep red) · style-page--botanico (sage)
 * The accent is only used for small details: labels, lines, frames, the title highlight.
 */
.style-page { --accent: #dcc399; --accent-deep: #795b32; }
.style-page--micro { --accent: #d3ae68; --accent-deep: #8a6424; }
.style-page--anime { --accent: #e0645a; --accent-deep: #a8342c; }
.style-page--botanico { --accent: #9dbb98; --accent-deep: #4f6d4b; }

.style-page .hero-tag { color: var(--accent); }
.style-page .hero h1 em { color: var(--accent); }
.style-page .section-eyebrow { color: var(--accent-deep); }
.style-page .section-ink .section-eyebrow,
.style-page .section-eyebrow-light { color: var(--accent); }

/* ── Gallery: one large piece + smaller ones, captions, opens full screen ── */
.style-gallery { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.style-gallery li { position: relative; }
.style-gallery li:first-child { grid-column: 1 / -1; }
.sg-item {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in;
  background: var(--ink); border-radius: 12px; overflow: hidden; font: inherit; text-align: left;
}
.sg-item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.style-gallery li:first-child .sg-item img { aspect-ratio: 4 / 3; }
.sg-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.25rem 0.9rem 0.8rem;
  background: linear-gradient(to top, rgba(10,14,30,0.82), rgba(10,14,30,0)); color: #fff;
  font-size: 0.78rem; line-height: 1.4;
}
.sg-cap::before { content: ''; display: block; width: 18px; height: 1px; background: var(--accent); margin-bottom: 0.45rem; }
.sg-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (min-width: 760px) {
  .style-gallery { grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
  .style-gallery li:first-child { grid-column: span 2; grid-row: span 2; }
  .style-gallery li:first-child .sg-item img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
}
@media (hover: hover) {
  .sg-cap { opacity: 0; transform: translateY(8px); transition: opacity 0.35s ease, transform 0.35s ease; }
  .sg-item:hover .sg-cap, .sg-item:focus-visible .sg-cap { opacity: 1; transform: none; }
  .sg-item:hover img { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) { .sg-item img, .sg-cap { transition: none; } .sg-item:hover img { transform: none; } }

/* ── Artist: portrait + name + styles + Instagram + "book with", centred ── */
.artist-feature { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 560px; margin: 2.5rem auto 0; }
.af-photo { display: block; width: 180px; border-radius: 999px 999px 14px 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--accent), 0 24px 50px rgba(0,0,0,0.3); }
.af-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.af-body { margin-top: 1.75rem; display: flex; flex-direction: column; align-items: center; }
.af-name { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); color: #fff; margin: 0; }
.af-styles { margin: 0.5rem 0 0; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.af-text { margin: 1rem 0 0; max-width: 460px; font-size: 0.88rem; line-height: 1.8; color: rgba(247,243,235,0.75); }
.af-ig { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1rem; color: #fff; text-decoration: none; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.25); padding-bottom: 2px; }
.af-ig:hover, .af-ig:focus-visible { border-color: var(--accent); }
.af-ig svg { width: 16px; height: 16px; }
.af-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.6rem; }
.af-more { margin: 1.25rem 0 0; }
@media (min-width: 760px) { .af-photo { width: 210px; } }
