/* site 2.0 additions: proposal notes, problem tiles, stories, topics, sub-page hero, hero video */

/* "Для Аліка" notes: what the client still has to supply (visible on purpose in the proposal) */
.slot-note { position: relative; margin: var(--s-4) 0; padding: var(--s-3) var(--s-5) var(--s-4) calc(var(--s-5) + 6px); border-radius: var(--r-md); background: #fff6d6; color: #4a3b00; font-size: 15px; line-height: 1.55; border: 1px dashed #d9b84a; max-width: 62ch; }
.slot-note::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 2px; background: var(--gold); }
.slot-note b { font-weight: 600; }
.section-head--split .slot-note { margin: 0; align-self: end; }

/* hero video poster */
.vid--hero { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.vid--hero img { object-position: 62% 20%; }
.hx__media--vid .vid__play { width: 80px; height: 80px; margin: -40px 0 0 -40px; background: color-mix(in oklab, var(--bg) 92%, transparent); box-shadow: 0 0 0 10px color-mix(in oklab, var(--bg) 35%, transparent); animation: play-pulse 2.8s ease-in-out infinite; }
@keyframes play-pulse { 50% { box-shadow: 0 0 0 18px color-mix(in oklab, var(--bg) 0%, transparent); } }
@media (prefers-reduced-motion: reduce) { .hx__media--vid .vid__play { animation: none; } }
.hx__media--vid .hx__badge { z-index: 1; }
div.vid--hero iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* sub-page hero (methodists, kids) */
.hx--sub .hx__info { align-content: center; }
.hx--sub .hx__text { padding-block: var(--s-6); }
.hx--sub .rows { margin: var(--s-6) 0; }

/* problem tiles */
.pts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.pt { display: grid; align-content: start; gap: var(--s-3); min-height: 260px; padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .2s, background .2s; }
.pt:hover { transform: translateY(-2px); background: color-mix(in oklab, var(--surface) 70%, var(--gold-soft)); }
.pt__ic { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: var(--s-4); }
.pt__h { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
.pt__p { font-size: 15px; line-height: 1.5; }
.pt__go { margin-top: auto; padding-top: var(--s-4); font-size: 15px; font-weight: 500; }
.pt--kids { background: var(--ink); color: var(--bg); }
.pt--kids:hover { background: color-mix(in oklab, var(--ink) 88%, var(--gold)); }
@media (max-width: 1279px) { .pts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .pts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .pt { min-height: 0; padding: var(--s-5); } .pt__h { font-size: 18px; } }
@media (max-width: 420px) { .pt { padding: var(--s-4); gap: var(--s-2); } .pt__ic { margin-bottom: var(--s-2); } .pt__p { font-size: 14px; } }

/* test: the bot is the next step */
.cp .btn-row { justify-content: center; }
.cp__alt { margin: 0; font-size: 15px; text-align: center; }

/* stories (slots until real reviews come) */
.stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.story { display: grid; align-content: start; gap: var(--s-4); padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface); border: 1px dashed var(--line-strong); }
.story__top { display: flex; gap: var(--s-4); align-items: center; }
.story__av { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-weight: 600; color: var(--muted); }
.story__name { display: block; font-weight: 600; }
.story__why { display: block; font-size: 15px; color: var(--muted); }
.story__metric { margin: 0; display: flex; align-items: baseline; gap: var(--s-3); font-size: 15px; }
.story__metric b { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
.story__q { margin: 0; font-size: var(--t-body); line-height: 1.6; color: var(--muted); }
@media (max-width: 1023px) { .stories { grid-template-columns: minmax(0, 1fr); } }

/* methodists: topics */
.topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.topics li { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--surface); font-size: var(--t-body); }
@media (max-width: 1023px) { .topics { margin-top: var(--s-7); } }
@media (max-width: 639px) { .topics { grid-template-columns: minmax(0, 1fr); } }
#registry .md__filters { align-self: end; }
#registry .md__list { margin-top: var(--s-7); }

.about-links { display: flex; flex-wrap: wrap; gap: var(--s-6); margin-top: var(--s-6); }
.socials a img { width: 20px; height: 20px; display: block; }
.nav__link[aria-current="page"] { font-weight: 600; }
.story { position: relative; }
.story__vid { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); background: linear-gradient(135deg, color-mix(in oklab, var(--ink) 85%, var(--bg)), var(--ink)); display: grid; place-items: center; overflow: hidden; }
.story__vid .vid__play { position: static; margin: 0; width: 56px; height: 56px; }
.story__vid .vid__play svg { width: 22px; height: 22px; }
.story__vl { position: absolute; left: 12px; bottom: 10px; font-family: var(--font-mono); font-size: 13px; color: var(--bg); letter-spacing: .06em; }
.story__flag { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 999px; background: #fff6d6; color: #4a3b00; font-family: var(--font-mono); font-size: 13px; }
.ground-inverse .md__you a span { color: #f7f9f8; }
.hx--sub .hx__text h1 { font-size: clamp(36px, 3.6vw, 56px); }

.story__q { color: var(--ink); }
#course .rows li { padding-block: 14px; }
#about .creds li { padding-block: 14px; }
.story__vl { background: rgba(4, 40, 46, .75); padding: 2px 8px; border-radius: 4px; }
#course .section-head { margin-bottom: var(--s-5); }
#course .slot-note { font-size: 14px; margin: var(--s-3) 0; }
#course .price-line { margin: var(--s-3) 0 var(--s-2); }
