/* Shifiverse — Artists' Corner, mentors and public profiles (Nov 2026). */

/* ---- directory -------------------------------------------------------------- */
.dir-hero { padding-block: clamp(48px, 7vw, 92px) 26px; }
.dir-hero .eyebrow { color: var(--green-dark); }
.dir-hero h1 em { color: var(--green); }
.dir-lead { max-width: 600px; color: var(--muted); font-size: 1.12rem; line-height: 1.75; margin: 18px 0 0; }
.dir-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.dir-filters a { padding: 7px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--ink); transition: border-color .15s, background .15s; }
.dir-filters a:hover { border-color: var(--green); }
.dir-filters a[aria-current] { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.dir-grid-wrap { padding-bottom: 40px; }
.dir-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 22px; }
.dir-card-link { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--paper); transition: transform .25s, box-shadow .25s; }
.dir-card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dir-card-link:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.dir-cover { display: block; aspect-ratio: 4 / 3; background: var(--surface-soft); overflow: hidden; }
.dir-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dir-card-link:hover .dir-cover img { transform: scale(1.04); }
.dir-initial { display: grid; place-items: center; height: 100%; font: 700 4rem/1 var(--display); color: var(--green); background: var(--green-soft); }
.dir-body { display: grid; gap: 4px; padding: 18px 20px 20px; }
.dir-name { font: 700 1.2rem/1.3 var(--display); letter-spacing: -.02em; }
.dir-headline { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.dir-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; font-size: .82rem; color: var(--muted); }
.dir-pill { padding: 2px 9px; border-radius: 999px; background: var(--green-soft); color: var(--green-deep); font-size: .72rem; font-weight: 700; }
.dir-empty { padding: 40px 0 60px; max-width: 560px; }
.dir-empty p { color: var(--muted); font-size: 1.08rem; margin-bottom: 22px; }
.dir-pitch { display: flex; justify-content: space-between; align-items: center; gap: 22px 40px; flex-wrap: wrap; margin-block: 30px 90px; padding: clamp(26px, 4vw, 46px); border-radius: 30px; background: var(--saffron-soft); }
.dir-pitch .eyebrow { color: var(--amber-ink); margin-bottom: 10px; }
.dir-pitch h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 12px; }
.dir-pitch p:not(.eyebrow) { max-width: 560px; margin: 0; color: #5d4720; }

/* ---- profile ------------------------------------------------------------------ */
.pf { max-width: 1080px; padding-block: clamp(26px, 4vw, 48px) 80px; }
.pf-draft { margin: 0 0 22px; padding: 12px 16px; border-radius: 14px; background: #fff4e5; color: #5a3b0b; font-size: .92rem; }
.pf-draft--live { background: var(--green-soft); color: var(--green-deep); }
.pf-draft a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pf-crumbs { margin-bottom: 22px; }
.pf-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(26px, 5vw, 64px); align-items: center; margin-bottom: clamp(36px, 6vw, 70px); }
.pf-hero--plain { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.pf-hero .eyebrow { color: var(--green-dark); margin-bottom: 12px; }
.pf-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 14px; }
.pf-headline { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.45; color: var(--green-dark); margin: 0 0 18px; }
.pf-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; }
.pf-chips li { padding: 5px 12px; border-radius: 999px; background: var(--surface-soft); font-size: .84rem; font-weight: 600; }
.pf-langs { color: var(--muted); font-size: .92rem; margin: 0 0 24px; }
.pf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.pf-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: .92rem; color: var(--green-dark); }
.pf-link .icon { width: 15px; height: 15px; }
.pf-cover { display: block; border-radius: 30px; overflow: hidden; background: var(--surface-soft); box-shadow: var(--shadow); }
.pf-cover img { display: block; width: 100%; height: auto; max-height: 620px; object-fit: cover; }

.pf-section { margin-bottom: clamp(40px, 6vw, 70px); }
.pf-section > h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 20px; }
.pf-about { max-width: 760px; }
.pf-bio { white-space: pre-line; font-size: 1.1rem; line-height: 1.8; margin: 0; }

.pf-gallery { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 16px; }
.pf-gallery li { break-inside: avoid; margin-bottom: 16px; }
.pf-gallery a { position: relative; display: block; border-radius: 18px; overflow: hidden; background: var(--surface-soft); }
.pf-gallery img { display: block; width: 100%; height: auto; transition: transform .5s; }
.pf-gallery a:hover img { transform: scale(1.03); }
.pf-gallery a:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.pf-art-caption { position: absolute; inset: auto 0 0 0; display: grid; padding: 30px 14px 12px; background: linear-gradient(to top, rgba(20, 30, 25, .72), transparent); color: #fff; font-weight: 650; font-size: .92rem; opacity: 0; transition: opacity .25s; }
.pf-art-caption small { font-weight: 400; opacity: .85; }
.pf-gallery a:hover .pf-art-caption, .pf-gallery a:focus-visible .pf-art-caption { opacity: 1; }
@media (hover: none) { .pf-art-caption { opacity: 1; } }

.pf-videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.pf-video, .pf-video-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 18px; overflow: hidden; background: #111; cursor: pointer; padding: 0; }
.pf-video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.pf-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--green-deep); font-size: 1.4rem; padding-left: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }

.pf-offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.pf-offer { padding: 22px; border: 1px solid var(--line); border-radius: 22px; }
.pf-offer h3 { font-size: 1.25rem; margin: 0 0 4px; }
.pf-modes { color: var(--green-dark); font-weight: 650; font-size: .88rem; margin: 0 0 8px; }
.pf-offer p { color: var(--muted); font-size: .95rem; margin: 0 0 12px; }

.pf-faq { max-width: 760px; display: grid; gap: 10px; }
.pf-faq details { border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; }
.pf-faq summary { padding: 12px 0; font-weight: 650; cursor: pointer; list-style-position: outside; }
.pf-faq details p { margin: 0 0 14px; color: var(--muted); line-height: 1.7; white-space: pre-line; }

.pf-contact { max-width: 680px; padding: clamp(24px, 4vw, 38px); border-radius: 28px; background: var(--surface-soft); scroll-margin-top: 100px; }
.pf-contact > h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.pf-muted { color: var(--muted); margin: 0 0 18px; }
.pf-muted a { color: var(--green-dark); font-weight: 650; text-decoration: underline; }
.pf-form { display: grid; gap: 16px; }
.pf-kinds { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.pf-kinds legend { width: 100%; margin-bottom: 8px; font-weight: 650; font-size: .9rem; }
.pf-kinds label { position: relative; cursor: pointer; }
.pf-kinds input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pf-kinds span { display: inline-block; padding: 8px 15px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: .9rem; font-weight: 600; }
.pf-kinds input:checked + span { border-color: var(--green-dark); background: var(--green-dark); color: #fff; }
.pf-kinds input:focus-visible + span { outline: 3px solid var(--green-soft); outline-offset: 2px; }
.pf-field { display: grid; gap: 6px; font-weight: 650; font-size: .9rem; }
.pf-field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font: inherit; font-size: 1rem; line-height: 1.55; resize: vertical; }
.pf-field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.pf-consent { font-size: .84rem; margin: 0; }
.pf-form .button { justify-self: start; }
.pf-flash { margin: 0 0 16px; padding: 11px 15px; border-radius: 12px; font-weight: 600; font-size: .92rem; }
.pf-flash--info { background: var(--green-soft); color: var(--green-deep); }
.pf-flash--error { background: #fdecec; color: #b4322f; }
.pf-foot { max-width: 680px; margin-top: 40px; color: var(--muted); font-size: .9rem; }
.pf-foot a { color: var(--green-dark); font-weight: 650; text-decoration: underline; }
.pf-missing h1 { font-size: clamp(2rem, 4vw, 2.8rem); }

/* ---- lightbox ----------------------------------------------------------------- */
.lightbox { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(12, 18, 15, .94); color: #fff; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(12, 18, 15, .94); }
.lightbox figure { margin: 0; max-width: min(1100px, 92vw); display: grid; gap: 12px; justify-items: center; }
.lightbox img { max-width: 100%; max-height: 78vh; border-radius: 10px; object-fit: contain; }
.lightbox figcaption { max-width: 640px; text-align: center; }
.lightbox figcaption strong { display: block; font-size: 1.05rem; }
.lightbox figcaption span { display: block; color: #c9d6cf; font-size: .86rem; }
.lightbox figcaption p { margin: 6px 0 0; color: #dfe8e2; font-size: .92rem; line-height: 1.6; }
.lightbox-close, .lightbox-nav { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .24); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-nav[hidden] { display: none; }

@media (max-width: 860px) {
  .pf-hero { grid-template-columns: 1fr; }
  .pf-cover { order: -1; border-radius: 22px; }
  .pf-cover img { max-height: 440px; }
}
@media (max-width: 560px) {
  .pf-gallery { columns: 2 140px; column-gap: 10px; }
  .pf-gallery li { margin-bottom: 10px; }
  .pf-contact { padding: 22px 18px; border-radius: 22px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 16px; transform: none; }
}

/* breadcrumb (same look as the rooms pages) + FAQ rows */
.pf-crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .86rem; color: var(--muted); }
.pf-crumbs a { color: var(--green-dark); font-weight: 650; }
.pf-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pf-faq summary::after { flex: none; margin: 0; position: static; }
