/* ==========================================================================
   GEAR HOUSE — studios: list, studio page, "list your studio" form.
   Builds on main.css (pcard badges, profile layout, gallery, lightbox, form).
   ========================================================================== */
.studio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.scard-studio { background: var(--graphite); border: 1px solid var(--smoke); border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform 0.4s var(--ease-out), border-color 0.3s; }
.scard-studio:hover { transform: translateY(-3px); border-color: var(--smoke-2); }
.ss-vis { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(ellipse at 50% 30%, #272b3a, #111218 70%); display: grid; place-items: center; overflow: hidden; }
.ss-vis img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.scard-studio:hover .ss-vis img { transform: scale(1.03); }
.ss-ph svg { width: 40px; height: 40px; color: var(--mist-2); }
.ss-body { padding: 16px 18px 18px; display: grid; gap: 8px; align-content: start; }
.ss-body h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.ss-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.ss-specs span { font-size: 12px; color: var(--bone-2); border: 1px solid var(--smoke); border-radius: 999px; padding: 3px 9px; }
.studio-empty { grid-column: 1 / -1; border: 1px dashed var(--smoke-2); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); display: grid; gap: 14px; justify-items: start; }
.studio-empty p { color: var(--mist); max-width: 60ch; }

/* studio page */
.st-hero { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--smoke); }
.st-hero img { width: 100%; height: 100%; object-fit: cover; }
.st-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--smoke); border: 1px solid var(--smoke); border-radius: var(--radius-lg); overflow: hidden; margin: 0; }
.st-facts > div { background: var(--graphite); padding: 14px 16px; }
.st-facts dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); }
.st-facts dd { margin: 4px 0 0; font-weight: 600; }

/* form helper */
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }

@media (max-width: 1100px) { .studio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .studio-grid, .row-3 { grid-template-columns: 1fr; } .st-facts { grid-template-columns: repeat(2, 1fr); } }

/* spaces inside a studio */
.st-spaces { display: grid; gap: 12px; }
.st-space { display: grid; grid-template-columns: 220px minmax(0, 1fr); border: 1px solid var(--smoke); border-radius: var(--radius-lg); overflow: hidden; background: var(--graphite); scroll-margin-top: calc(var(--header-h) + 24px); }
.st-space:not(:has(.st-space-vis)) { grid-template-columns: 1fr; }
.st-space-vis { display: block; width: 100%; height: 100%; min-height: 180px; }
.st-space-vis img { width: 100%; height: 100%; object-fit: cover; }
.st-space-body { padding: 18px; display: grid; gap: 10px; align-content: start; }
.st-space-body h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.st-space-desc { font-size: 14px; color: var(--bone-2); }
.st-facts-sm { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.st-facts-sm > div { padding: 10px 12px; }
.st-space-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--smoke); }
.st-rates { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--mist); }
.st-rates strong { color: var(--bone); font-size: 18px; letter-spacing: -0.02em; }
.ss-body a.add-btn { text-decoration: none; }
@media (max-width: 640px) { .st-space { grid-template-columns: 1fr; } .st-space-vis { min-height: 0; aspect-ratio: 16 / 9; } }
.st-form-spaces { display: grid; gap: 12px; }
.st-form-space { border: 1px solid var(--smoke); border-radius: 16px; padding: 16px; display: grid; gap: 14px; background: var(--ink-2); }
.st-form-space-head { display: flex; justify-content: space-between; align-items: center; }
