/* ================================================================
   SO MUCH PIĘKNIE - blocks
   Hero, CTA band, quote band and the home page blocks.
   Part of the theme loaded by sites/somuchpieknie/base_site.html in the
   order site.css, blocks.css, song.css, stories.css. Tokens are in site.css.
   ================================================================ */

/* ---------- 5. Hero, CTA band, quote band ---------- */
.smp-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); }
.smp-hero__glow {
  position: absolute; top: 0; right: -8rem; z-index: -1; width: 40rem; height: 40rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 18, 60, .28), rgba(245, 240, 234, .04) 45%, transparent 70%);
}
.smp-hero__glow--top {
  top: -8rem; right: auto; left: 50%; width: 100%; max-width: 48rem; height: 16rem; transform: translateX(-50%);
  background: rgba(224, 18, 60, .2); filter: blur(64px);
}
.smp-hero__grid { display: grid; gap: 2rem; align-items: center; padding-top: 4rem; padding-bottom: 4rem; }
.smp-hero--cover .smp-hero__grid { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) {
  .smp-hero__grid { padding-top: 6rem; padding-bottom: 6rem; gap: 4rem; }
  .smp-hero--cover .smp-hero__grid { grid-template-columns: 1fr 1fr; }
}
.smp-hero__title {
  margin: 0; font-size: 3.75rem; line-height: 1; color: var(--snow);
}
.smp-hero--cover .smp-hero__title { margin-top: 1.5rem; }
.smp-hero__title--md { font-size: 3rem; line-height: 1.1; }
@media (min-width: 640px) { .smp-hero__title { font-size: 4.5rem; } }
@media (min-width: 768px) { .smp-hero--plain .smp-hero__title { font-size: 6rem; } .smp-hero__title--md { font-size: 4.5rem; } }
@media (min-width: 1024px) { .smp-hero--cover .smp-hero__title { font-size: 6rem; } }
.smp-hero__lead { margin: 1.5rem 0 0; max-width: 42rem; font-size: 1.25rem; line-height: 1.7; color: var(--snow); }
.smp-hero__lead--center { margin-left: auto; margin-right: auto; max-width: 36rem; color: rgba(245, 240, 234, .9); }
.smp-hero--cover .smp-hero__lead { max-width: 28rem; }
@media (min-width: 768px) { .smp-hero__lead { font-size: 1.5rem; } }
.smp-hero--plain .smp-wrap, .smp-hero:not(.smp-hero--cover) .smp-hero__grid { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .smp-hero--plain .smp-wrap { padding-top: 6rem; } .smp-hero:not(.smp-hero--cover) .smp-hero__grid { padding-top: 6rem; padding-bottom: 6rem; } }
.smp-hero--plain .smp-hero__lead { color: rgba(245, 240, 234, .9); }
.smp-hero--plain { padding-bottom: 0; }
.smp-hero--plain > .smp-wrap { padding-bottom: 4rem; }
.smp-hero--narrow > .smp-wrap { padding-bottom: 4rem; }
.smp-hero__cover { width: 100%; aspect-ratio: 1; border-radius: 1.5rem; object-fit: cover; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .5); }
/* Plain hero (O nas): a block hero without cover reuses the grid wrapper as a single column. */
.smp-hero:not(.smp-hero--cover):not(.smp-hero--plain) .smp-hero__glow { top: -8rem; right: auto; left: 50%; width: 100%; max-width: 48rem; height: 16rem; transform: translateX(-50%); background: rgba(224, 18, 60, .2); filter: blur(64px); }

.smp-cta--split { background: var(--night-alt); }
.smp-cta__grid { display: grid; gap: 2rem; padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .smp-cta__grid { grid-template-columns: 7fr 5fr; align-items: center; padding-top: 6rem; padding-bottom: 6rem; } }
.smp-cta__actions { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) { .smp-cta__actions { align-items: flex-end; } }
.smp-cta__note { margin: 0; font-size: 1rem; color: rgba(245, 240, 234, .8); }
.smp-cta--centered { position: relative; isolation: isolate; overflow: hidden; background: var(--night-alt); }
.smp-cta__glow {
  position: absolute; bottom: -8rem; left: 50%; z-index: -1; width: 100%; max-width: 48rem; height: 16rem;
  transform: translateX(-50%); border-radius: 50%; background: rgba(224, 18, 60, .2); filter: blur(64px);
}
.smp-cta__inner { max-width: 48rem; padding-top: 4rem; padding-bottom: 4rem; text-align: center; }
.smp-cta--centered .smp-lead { margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .smp-cta__inner { padding-top: 6rem; padding-bottom: 6rem; } }

.smp-quote {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(to bottom, var(--wine), var(--night)); color: var(--snow);
}
.smp-quote::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at top, rgba(224, 18, 60, .3), transparent 60%);
}
.smp-quote__figure { margin: 0 auto; max-width: 56rem; padding: 5rem 1rem; text-align: center; }
@media (min-width: 640px) { .smp-quote__figure { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 768px) { .smp-quote__figure { padding-top: 6rem; padding-bottom: 6rem; } }
.smp-quote blockquote { margin: 0; }
.smp-quote__text { margin: 0; font-family: var(--display); font-size: 3rem; font-weight: 600; font-style: italic; line-height: 1.1; }
@media (min-width: 768px) { .smp-quote__text { font-size: 4.5rem; } }
.smp-quote__body { margin: 1.5rem auto 0; max-width: 36rem; color: rgba(245, 240, 234, .85); }
.smp-quote__caption { margin-top: 1.5rem; font-weight: 600; }
.smp-quote .smp-btn { margin-top: 2rem; }

/* ---------- 6. Home blocks ---------- */
/* Cover tiles (ShowcaseGridBlock) */
.smp-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 3rem 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .smp-tiles { gap: 2rem; } }
@media (min-width: 1024px) { .smp-tiles { grid-template-columns: repeat(3, 1fr); } }
.smp-tiles__item--wide { grid-column: span 2; }
@media (min-width: 1024px) { .smp-tiles__item--wide { grid-column: span 1; } }
.smp-tile { display: block; border-radius: 1rem; }
.smp-tile__cover, .smp-cover__image {
  width: 100%; aspect-ratio: 1; border-radius: 1rem; object-fit: cover;
  box-shadow: 0 25px 50px -12px rgba(11, 11, 16, .6); transition: transform .2s;
}
.smp-tile:hover .smp-tile__cover { transform: translateY(-.5rem); }
.smp-tile__label, .smp-cover__label { margin-top: 1rem; }
.smp-tile__title, .smp-cover__title { margin: .5rem 0 0; font-size: 1.5rem; line-height: 1.2; }
@media (min-width: 640px) { .smp-tile__title, .smp-cover__title { font-size: 1.875rem; } }
.smp-soon { display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 2rem; border: 2px dashed rgba(245, 240, 234, .3); border-radius: 1rem; }
.smp-soon__title { margin: 1rem 0 0; font-size: 1.875rem; line-height: 1.2; }
.smp-soon__list { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: .5rem; color: rgba(245, 240, 234, .8); }

/* Places gallery (IconCardsBlock with images) */
.smp-places { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 3rem 0 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .smp-places { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.smp-place { height: 100%; overflow: hidden; border-radius: 1rem; background: var(--night); color: var(--snow); }
.smp-place__image { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.smp-place__body { padding: 1rem; }
@media (min-width: 768px) { .smp-place__body { padding: 1.5rem; } }
.smp-place__title { margin: .5rem 0 0; font-family: var(--sans); font-size: 1.25rem; font-weight: 600; text-transform: none; letter-spacing: 0; line-height: 1.4; }
.smp-place__text { margin: .5rem 0 0; font-size: 1rem; color: rgba(245, 240, 234, .8); }

/* Feature cards (IconCardsBlock without images) */
.smp-feature-cards { display: grid; gap: 2rem; margin: 3rem 0 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .smp-feature-cards { grid-template-columns: repeat(3, 1fr); } }
.smp-feature-card { padding: 2rem; border: 1px solid rgba(245, 240, 234, .1); border-radius: 1.5rem; background: var(--night); }
.smp-feature-card__icon, .smp-feature-card__glyph { display: block; width: 2rem; height: 2rem; }
.smp-feature-card__glyph { background-color: var(--pink); -webkit-mask: var(--glyph) center / contain no-repeat; mask: var(--glyph) center / contain no-repeat; }
.smp-feature-card__glyph--1 { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16v4Z'/%3E%3Cpath d='m13 7 4 4'/%3E%3C/svg%3E"); }
.smp-feature-card__glyph--2 { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 10v4M8 6v12M12 3v18M16 7v10M20 10v4'/%3E%3C/svg%3E"); }
.smp-feature-card__glyph--3 { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-12a7 7 0 1 0-14 0c0 5.8 7 12 7 12Z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E"); }
.smp-feature-card__title { margin: 1.5rem 0 0; font-size: 1.875rem; line-height: 1.2; }
.smp-feature-card__text { margin: 1rem 0 0; color: rgba(245, 240, 234, .8); }

/* Numbered steps (TimelineBlock) */
.smp-steps { display: grid; gap: 2rem; margin: 3rem 0 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .smp-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .smp-steps { grid-template-columns: repeat(4, 1fr); } }
.smp-step { padding-top: 1.5rem; border-top: 2px solid var(--lipstick); }
.smp-step__num { margin: 0; font-family: var(--display); font-size: 3.75rem; font-weight: 600; line-height: 1; color: var(--pink); }
.smp-step__title { margin: 1rem 0 0; font-size: 1.5rem; font-weight: 700; line-height: 1.3; }
.smp-step__text { margin: .5rem 0 0; color: rgba(245, 240, 234, .8); }

/* FAQ (FaqColumnsBlock) */
.smp-faq { display: grid; gap: 1rem; margin-top: 3rem; }
@media (min-width: 768px) { .smp-faq { grid-template-columns: repeat(2, 1fr); gap: 2rem; align-items: start; } }
.smp-faq__col { display: grid; gap: 1rem; }
.smp-faq__title { margin-bottom: .5rem; }
.smp-faq__tag { margin-left: .5rem; padding: .125rem .5rem; border-radius: 999px; background: rgba(245, 240, 234, .1); font-size: .875rem; }
.smp-faq__item { border-radius: 1rem; background: rgba(11, 11, 16, .4); box-shadow: inset 0 0 0 1px rgba(245, 240, 234, .1); }
.smp-faq__item[open] { box-shadow: inset 0 0 0 1px rgba(224, 18, 60, .6); }
.smp-faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem;
  padding: 1rem 1.5rem; border-radius: 1rem; font-size: 1.25rem; font-weight: 600; cursor: pointer; list-style: none;
}
.smp-faq__q::-webkit-details-marker { display: none; }
.smp-faq__plus { font-size: 1.5rem; color: var(--pink); transition: transform .2s; }
.smp-faq__item[open] .smp-faq__plus { transform: rotate(45deg); }
.smp-faq__a { padding: 0 1.5rem 1.5rem; color: rgba(245, 240, 234, .8); }
.smp-faq__a p { margin: 0 0 1rem; }
.smp-faq__a p:last-child { margin-bottom: 0; }
.smp-faq__a a { color: var(--pink); text-decoration: underline; }

/* Split feature (O nas, white section) */
.smp-split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .smp-split { grid-template-columns: 1fr 1fr; } .smp-split--text { grid-template-columns: 1fr; } }
@media (min-width: 1024px) { .smp-split { gap: 4rem; } }
.smp-split__image { width: 100%; aspect-ratio: 1; border-radius: 1.5rem; object-fit: cover; box-shadow: 0 25px 50px -12px rgba(11, 11, 16, .2); }
.smp-split__items { margin-top: 1.5rem; display: grid; gap: 1rem; }
.smp-split__text { margin: 1.5rem 0 0; line-height: 1.75; }
.smp-split__items .smp-split__text { margin: 0; }
.smp-split .smp-h2 { margin-top: 1rem; }
/* Strip of trip photos (items with an icon image): 2x2 on mobile, 4 across from 640px */
.smp-split__thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin: 2rem 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .smp-split__thumbs { grid-template-columns: repeat(4, 1fr); } }
.site-somuchpieknie .smp-split__thumb { width: 100%; height: auto; aspect-ratio: 1; border-radius: 1rem; object-fit: cover; }
/* Dark variant on home: wine glow fading into night, snow text */
.smp-section--wine { background: linear-gradient(160deg, var(--wine) 0%, var(--night-alt) 55%, var(--night) 100%); color: var(--snow); }
.smp-section--wine .smp-split__image { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .55), 0 0 0 1px rgba(245, 240, 234, .12); }
.smp-section--wine .smp-split__text { color: rgba(245, 240, 234, .92); font-size: 1.25rem; }

/* Cards used by blog posts on home and Kulisy */
.smp-posts { display: grid; gap: 3rem; margin: 3rem 0 0; padding: 0; list-style: none; }
.smp-posts--grid { margin-top: 2rem; }
@media (min-width: 768px) {
  .smp-posts { gap: 2rem; }
  .smp-posts--2, .smp-posts--grid { grid-template-columns: repeat(2, 1fr); }
  .smp-posts--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) { .smp-posts--grid { grid-template-columns: repeat(3, 1fr); } }
.smp-post { position: relative; }
.smp-post__image { width: 100%; aspect-ratio: 16 / 9; border-radius: 1rem; object-fit: cover; }
.smp-post__label { margin-top: 1.5rem; }
.smp-post__title { margin: .5rem 0 0; font-size: 1.5rem; font-weight: 600; line-height: 1.35; }
.smp-post__link { border-radius: .25rem; }
.smp-post__link::after { content: ""; position: absolute; inset: 0; }
.smp-post__link:hover { color: var(--pink); }
.smp-post__text { margin: .5rem 0 0; color: rgba(245, 240, 234, .8); }
.smp-post__date { margin: .5rem 0 0; font-size: 1rem; color: rgba(245, 240, 234, .8); }
/* Kulisy list: a tall photo fills the card, the copy is printed over a dark fade at its foot. */
.smp-post--overlay {
  isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  aspect-ratio: 4 / 5; border-radius: 1.25rem; background: var(--night-alt);
}
.site-somuchpieknie .smp-post--overlay .smp-post__image {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; aspect-ratio: auto;
  border-radius: 0; transition: transform .8s ease;
}
.smp-post--overlay::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(11, 11, 16, .95) 0%, rgba(11, 11, 16, .75) 40%, rgba(11, 11, 16, 0) 75%);
}
.smp-post--overlay:hover .smp-post__image { transform: scale(1.04); }
.smp-post--overlay:focus-within { outline: 3px solid var(--pink); outline-offset: 4px; }
.smp-post--overlay .smp-post__body { padding: 1.25rem 1.5rem 1.5rem; text-shadow: 0 1px 10px rgba(11, 11, 16, .6); }
.smp-post--overlay .smp-post__label { margin-top: 0; }
.smp-post--overlay .smp-post__title { font-size: 1.375rem; color: var(--snow); }
.smp-post--overlay .smp-post__text {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: rgba(245, 240, 234, .88);
}

/* Date line under a tile title ("Premiera ...") */
.smp-tile__date { margin: .5rem 0 0; font-size: 1rem; color: rgba(245, 240, 234, .8); }

/* "Posłuchaj nas": compact band of streaming logos under the hero (IconCardsBlock, all cards = platform links) */
.smp-platforms {
  background: radial-gradient(circle at 12% 50%, rgba(224, 18, 60, .35), transparent 55%), linear-gradient(120deg, var(--wine), var(--night-alt) 60%, var(--night));
  padding: 2rem 0; color: #fff;
}
.smp-platforms__inner { display: grid; gap: 1.25rem; align-items: center; }
@media (min-width: 1024px) { .smp-platforms__inner { grid-template-columns: fit-content(15rem) 1fr; gap: 2rem; } } /* head only as wide as its text */
.smp-platforms__title { margin: 0; font-family: var(--display); font-size: 2rem; font-weight: 600; line-height: 1.1; text-transform: uppercase; letter-spacing: var(--tracking); }
.smp-platforms__lead { margin: .5rem 0 0; font-size: 1.125rem; color: #fff; }
.smp-platforms__icon { display: block; margin-bottom: .5rem; color: var(--pink); }
@media (min-width: 1024px) { .smp-platforms__title { font-size: 1.75rem; white-space: nowrap; } }
.smp-platforms__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .smp-platforms__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .smp-platforms__list { display: flex; flex-wrap: wrap; justify-content: flex-end; } }
/* Song pages (compact band): slimmer pills so all services fit one row on a desktop width */
@media (min-width: 1024px) {
  .smp-platforms--compact .smp-platforms__list { gap: .375rem; }
  .smp-platforms--compact .smp-platform { gap: .375rem; min-height: 2.75rem; padding: 0 .625rem; font-size: .875rem; }
  .smp-platforms--compact .smp-platform svg { width: 18px; height: 18px; }
}
.smp-platform {
  display: flex; align-items: center; justify-content: center; gap: .75rem; min-height: 3.5rem; padding: 0 1.25rem;
  border: 1px solid rgba(255, 255, 255, .6); border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff;
  font-weight: 700; white-space: nowrap; transition: border-color .2s, background-color .2s, color .2s;
}
.smp-platform svg { flex-shrink: 0; transition: color .2s; }
/* On the red band brand colours would clash: hover inverts to a white pill with night text. */
.smp-platform:hover, .smp-platform:focus-visible { border-color: #fff; background: #fff; color: var(--night); }
.smp-platform:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* Phones: two columns of pills; a long name ("YouTube Music") wraps instead of
   pushing the page wider than the screen. */
@media (max-width: 639px) {
  .smp-platform { min-width: 0; gap: .5rem; padding: .5rem .875rem; white-space: normal; text-align: center; line-height: 1.2; }
}
