@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --surface: #151518;
  --raised: #1c1c20;
  --line: #303037;
  --ink: #f5f4f5;
  --muted: #b8b7bf;
  --accent: #ff4c58;
  --gold: #eac274;
  --gutter: clamp(20px, 5vw, 76px);
  --page: 1412px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.6 Manrope, Arial, sans-serif; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #ff8b94; outline-offset: 4px; }
p { color: var(--muted); }
h1, h2, h3, p { margin-top: 0; }
.wrap { width: min(calc(100% - var(--gutter) * 2), var(--page)); margin-inline: auto; }

.site-header { background: #0c0c0e; border-bottom: 1px solid #ffffff19; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.38rem; font-weight: 800; letter-spacing: -.065em; white-space: nowrap; }
.brand b { color: var(--accent); }
.brand-mark { width: 19px; height: 19px; border: 2px solid var(--accent); border-radius: 50% 50% 50% 2px; transform: rotate(-45deg); display: grid; place-items: center; }
.brand-mark::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.header-inner nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); }
.link { padding: 7px 0; color: var(--muted); font-size: .875rem; font-weight: 750; }
.link:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 17px; border: 1px solid var(--line); border-radius: 6px; background: var(--raised); font-size: .875rem; font-weight: 800; line-height: 1.3; text-align: center; }
.btn:hover { border-color: #77757e; }
.btn.dark { background: var(--accent); border-color: var(--accent); color: #170609; }
.btn.dark:hover { background: #ff737d; border-color: #ff737d; }
.header-inner .btn { background: transparent; border-color: #7f383f; }
.header-inner .btn:hover { background: #27151a; border-color: var(--accent); }

.hero { position: relative; isolation: isolate; min-height: 560px; display: flex; align-items: center; background: #0a0a0c; }
.hero-photo { position: absolute; inset: 0 0 0 30%; z-index: -2; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#0a0a0c 9%,#0a0a0c 30%,#0a0a0ce8 39%,#0a0a0c35 60%,transparent 80%),linear-gradient(0deg,#0b0b0d 0%,#0b0b0d6b 16%,transparent 44%); }
.hero-inner { padding-block: 70px 110px; }
.hero-copy { max-width: 595px; }
.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow { display: flex; align-items: center; gap: 12px; color: #dedce0; margin-bottom: 20px; }
.hero .eyebrow::before { content: ''; width: 27px; height: 2px; background: var(--accent); }
.hero h1 { margin: 0 0 25px; font: 800 clamp(3.55rem, 6.7vw, 7rem)/.9 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif; letter-spacing: -.015em; text-transform: uppercase; }
.hero h1 em { display: block; font-style: normal; color: var(--accent); }
.hero-copy > p:last-child { max-width: 29rem; margin: 0; font-size: clamp(1rem, 1.45vw, 1.17rem); line-height: 1.65; color: #d0cfd4; }

.directory { position: relative; margin-top: -55px; padding-bottom: 38px; }
.search { display: grid; grid-template-columns: 1fr 1fr auto; align-items: stretch; gap: 10px; padding: 12px; background: #161619; border: 1px solid #ffffff26; border-radius: 9px; box-shadow: 0 12px 32px #0006; scroll-margin-top: 22px; }
.field { display: grid; align-content: center; min-width: 0; padding: 4px 16px; border-right: 1px solid var(--line); }
.field label { display: block; margin-bottom: 3px; color: var(--muted); font-size: .8125rem; font-weight: 750; }
.field input, .field select { width: 100%; min-width: 0; padding: 3px 0; border: 0; background-color: transparent; color: var(--ink); font-size: 1rem; }
.field input::placeholder { color: #c7c5cd; opacity: 1; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%23b8b7bf' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .5rem center; }
.field select { padding-right: 1.75rem; }
option { background: var(--raised); color: var(--ink); }
.search .btn { min-width: 176px; padding-inline: 24px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 38px 0 16px; scroll-margin-top: 22px; }
.section-heading h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.12; font-weight: 800; letter-spacing: -.056em; }
.demo { color: var(--muted); font-size: .75rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { min-height: 37px; padding: 5px 13px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: #dbd9de; font-size: .8125rem; font-weight: 750; }
.chip:hover { border-color: #77757e; }
.chip.active { color: #ffc8cc; background: #34171d; border-color: #a94a55; }
#license.active { border-color: #997641; background: #332714; color: var(--gold); }

.directory-grid { display: grid; grid-template-columns: clamp(315px, 33%, 450px) minmax(0, 1fr); min-height: 520px; height: min(650px, 78vh); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--surface); }
.results { overflow: auto; scrollbar-color: #54545b var(--surface); }
.result-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: var(--raised); border-bottom: 1px solid var(--line); }
.result-head strong { font-size: .875rem; }
.result-head select { max-width: 51%; padding: 7px 24px 7px 8px; border: 1px solid var(--line); border-radius: 4px; background-color: var(--surface); color: var(--muted); font-size: .75rem; }
.card { position: relative; padding: 17px 16px; border-bottom: 1px solid var(--line); cursor: pointer; }
.card:hover, .card.selected { background: var(--raised); }
.card.selected { box-shadow: inset 3px 0 var(--accent); }
.card-top { display: flex; align-items: center; gap: 14px; }
.photo { width: clamp(74px, 7vw, 104px); height: 82px; flex: 0 0 auto; object-fit: cover; border-radius: 5px; background: var(--raised); }
.card h3 { margin: 0 25px 3px 0; font-size: 1rem; line-height: 1.3; letter-spacing: -.025em; overflow-wrap: anywhere; }
.place { margin: 0; color: #d0cfd4; font-size: .875rem; }
.sample { color: var(--muted); font-size: .75rem; }
.badge { padding: 4px 7px; border-radius: 4px; background: #302b2e; color: var(--ink); font-size: .75rem; }
.badge.license { background: #332714; color: var(--gold); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 11px 0 10px; }
.tag { padding: 3px 7px; border: 1px solid var(--line); border-radius: 4px; color: #c3c2c9; font-size: .75rem; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { color: var(--muted); font-size: .8125rem; }
.price b { color: var(--ink); font-size: 1rem; }
.profile { color: #ff9299; font-size: .875rem; font-weight: 800; padding: 7px 0; }
.profile:hover { text-decoration: underline; }
.profile { margin-left: auto; }
.heart { position: absolute; top: 14px; right: 10px; display: grid; place-items: center; width: 38px; height: 38px; color: #ff9299; border-radius: 5px; font-size: 1.35rem; line-height: 1; }
.heart:hover { background: #362228; }
.empty { padding: 24px 16px; color: var(--muted); }
.empty b { color: var(--ink); }

.map-wrap { position: relative; background: #18191e; border-left: 1px solid var(--line); }
#map { position: absolute; inset: 0; }
#map .maplibregl-canvas { filter: grayscale(1) invert(1) brightness(1.1) contrast(.8); }
.map-label, .legend { position: absolute; z-index: 2; display: flex; gap: 6px; align-items: center; padding: 8px 11px; border: 1px solid #ffffff26; border-radius: 5px; background: #19191def; color: #eeeef2; font-size: .75rem; box-shadow: 0 4px 13px #0006; }
.map-label { top: 14px; left: 14px; }
.legend { bottom: 26px; left: 14px; }
.key-basic { color: #ff7883; }
.key-license { color: var(--gold); }
#map .maplibregl-marker { position: absolute; top: 0; left: 0; margin: 0; }
.studio-pin { width: 33px; height: 33px; padding: 4px; background: #ab3040; color: white; border: 2px solid #fff0f1; border-radius: 9px; box-shadow: 0 3px 12px #0007; }
.studio-pin svg { display: block; width: 100%; height: 100%; }
.studio-pin.licensed { background: #252027; border-color: var(--gold); }
.studio-pin.selected { outline: 3px solid #ff8d96; outline-offset: 2px; }
.studio-pin:hover { filter: brightness(1.25); }
.shield { position: absolute; right: -5px; bottom: -5px; width: 15px; height: 17px; display: grid; place-items: center; clip-path: polygon(0 0,100% 0,100% 66%,50% 100%,0 66%); background: var(--gold); color: #392704; font: bold 11px Arial, sans-serif; padding-bottom: 2px; }
#map .cluster { width: var(--cluster-size, 40px); height: var(--cluster-size, 40px); min-width: 40px; min-height: 40px; display: grid; place-items: center; padding: 0; border: 3px solid #c85e69; border-radius: 50%; background: #3f222b; color: #ffe8eb; font-size: .75rem; font-weight: 800; font-variant-numeric: tabular-nums; box-shadow: 0 3px 13px #0007; appearance: none; }
.map-wrap .maplibregl-ctrl-group { background: #222228; border: 1px solid #ffffff26; }
.map-wrap .maplibregl-ctrl-group button { border-color: #ffffff26; }
.map-wrap .maplibregl-ctrl-icon, .map-wrap .maplibregl-ctrl-attrib-button { filter: invert(1); }
.map-wrap .maplibregl-ctrl-attrib { background: #1b1b21ec; color: #cfced6; }
.map-wrap .maplibregl-ctrl-attrib a { color: #eeeef2; }
.fallback { padding: 94px 20px 30px; color: var(--muted); text-align: center; }
.toggle { display: none; }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px 24px; padding-block: 22px; }
dialog { max-width: 760px; width: calc(100% - 32px); max-height: 90vh; padding: 0; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); }
dialog::backdrop { background: #07070bc9; backdrop-filter: blur(4px); }
.close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 6px; background: var(--raised); font-size: 1.35rem; line-height: 1; }
.cover { display: block; width: 100%; height: clamp(160px, 32vw, 235px); object-fit: cover; }
.modal-body { padding: clamp(18px, 4vw, 30px); }
.modal-body h2 { margin: 8px 0 12px; font-size: clamp(1.45rem, 4vw, 2rem); line-height: 1.2; padding-right: 28px; }
.studio-description { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 16px; }
.grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.services { padding: 0; list-style: none; }
.services li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.notice { margin: 12px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 5px; background: var(--raised); color: var(--muted); font-size: .875rem; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.license-banner, .license-description { border: 1px solid #775c31; border-radius: 5px; background: #282016; color: #f0cf90; }
.license-banner { display: flex; align-items: center; gap: 10px; margin: 12px 0 4px; padding: 9px 10px; }
.license-banner strong { display: block; font-size: .8125rem; }
.license-banner small, .license-description small { display: block; color: #d5bd91; font-size: .75rem; }
.license-seal { flex-shrink: 0; display: grid; place-items: center; width: 25px; height: 27px; padding-bottom: 3px; clip-path: polygon(0 0,100% 0,100% 68%,50% 100%,0 68%); background: var(--gold); color: #392704; font-weight: 800; }
.license-description { padding: 13px; margin: 14px 0; }
.license-description p { margin: 5px 0; color: #e2d2b3; font-size: .875rem; }
.toast { position: fixed; z-index: 10; bottom: 25px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 12px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--raised); color: var(--ink); font-size: .875rem; }

@media (max-width: 950px) {
  .hero { min-height: 490px; }
  .hero-photo { left: 23%; }
  .hero::after { background: linear-gradient(90deg,#0a0a0c 8%,#0a0a0cf2 30%,#0a0a0c85 53%,transparent 86%),linear-gradient(0deg,#0b0b0d,transparent 29%); }
  .header-inner nav { gap: 18px; }
}

@media (max-width: 680px) {
  .header-inner { min-height: 65px; gap: 10px; }
  .header-inner nav button.link { display: none; }
  .header-inner .btn { font-size: .8125rem; min-height: 39px; padding-inline: 10px; }
  .brand { gap: 8px; font-size: 1.17rem; }
  .brand-mark { width: 16px; height: 16px; }
  .hero { min-height: 0; align-items: flex-start; }
  .hero-inner { padding-top: 34px; padding-bottom: clamp(220px, 57vw, 320px); }
  .hero .eyebrow { margin-bottom: 15px; }
  .hero h1 { font-size: clamp(3rem, 10.9vw, 4.8rem); margin-bottom: 13px; }
  .hero-photo { inset: auto 0 0; height: clamp(245px, 65vw, 355px); }
  .hero-photo img { object-position: center 54%; }
  .hero::after { background: linear-gradient(0deg,#0b0b0d 0%,transparent 19%,transparent 40%,#0a0a0c 63%); }
  .directory { margin-top: -22px; padding-bottom: 24px; }
  .search { grid-template-columns: minmax(0, 1fr); gap: 7px; padding: 8px; }
  .field { padding: 4px 7px 7px; border-right: 0; border-bottom: 1px solid var(--line); }
  .search .btn { min-height: 46px; }
  .section-heading { flex-wrap: wrap; margin-top: 28px; }
  .filters { gap: 6px; margin-bottom: 12px; }
  .chip { min-height: 36px; padding-inline: 9px; }
  .directory-grid { display: block; min-height: 0; height: auto; }
  .results { max-height: min(630px, 74vh); }
  .map-wrap { display: none; min-height: min(540px, 68vh); border: 0; }
  .map-mode .results { display: none; }
  .map-mode .map-wrap { display: block; }
  .toggle { display: flex; margin: 0 0 12px auto; }
  .footer-inner { flex-wrap: wrap; }
  .grid { grid-template-columns: 1fr; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: clamp(2.35rem, 13vw, 2.75rem); }
}
